Class RelSort

class RelSort : public RelAlgNode

Public Functions

RelSort(const std::vector<SortField> &collation, const size_t limit, const size_t offset, std::shared_ptr<const RelAlgNode> input, bool limit_delivered)
bool operator==(const RelSort &that) const
size_t collationCount() const
SortField getCollation(const size_t i) const
void setCollation(std::vector<SortField> &&collation)
void setEmptyResult(bool emptyResult)
bool isEmptyResult() const
bool isLimitDelivered() const
size_t getLimit() const
size_t getOffset() const
std::string toString() const
size_t toHash() const
size_t size() const
std::shared_ptr<RelAlgNode> deepCopy() const

Private Functions

bool hasEquivCollationOf(const RelSort &that) const

Private Members

std::vector<SortField> collation_
const size_t limit_
const size_t offset_
bool empty_result_
bool limit_delivered_