Class RexWindowFunctionOperator

class RexWindowFunctionOperator : public RexFunctionOperator

Public Functions

RexWindowFunctionOperator(const SqlWindowFunctionKind kind, ConstRexScalarPtrVector &operands, ConstRexScalarPtrVector &partition_keys, ConstRexScalarPtrVector &order_keys, const std::vector<SortField> collation, const RexWindowBound &lower_bound, const RexWindowBound &upper_bound, const bool is_rows, const SQLTypeInfo &ti)
SqlWindowFunctionKind getKind() const
const ConstRexScalarPtrVector &getPartitionKeys() const
ConstRexScalarPtrVector getPartitionKeysAndRelease() const
ConstRexScalarPtrVector getOrderKeysAndRelease() const
const ConstRexScalarPtrVector &getOrderKeys() const
const std::vector<SortField> &getCollation() const
const RexWindowBound &getLowerBound() const
const RexWindowBound &getUpperBound() const
bool isRows() const
std::unique_ptr<const RexOperator> disambiguatedOperands(ConstRexScalarPtrVector &operands, ConstRexScalarPtrVector &partition_keys, ConstRexScalarPtrVector &order_keys, const std::vector<SortField> &collation) const
std::string toString() const
size_t toHash() const

Private Members

const SqlWindowFunctionKind kind_
ConstRexScalarPtrVector partition_keys_
ConstRexScalarPtrVector order_keys_
const std::vector<SortField> collation_
const RexWindowBound lower_bound_
const RexWindowBound upper_bound_
const bool is_rows_
struct RexWindowBound

Public Members

bool unbounded
bool preceding
bool following
bool is_current_row
std::shared_ptr<const RexScalar> offset
int order_key