Class Parser::WidthBucketExpr

class WidthBucketExpr : public Parser::Expr

Public Functions

WidthBucketExpr(Expr *t, Expr *l, Expr *u, Expr *p)
const Expr *get_target_value() const
const Expr *get_lower_bound() const
const Expr *get_upper_bound() const
const Expr *get_partition_count() const
std::shared_ptr<Analyzer::Expr> analyze(const Catalog_Namespace::Catalog &catalog, Analyzer::Query &query, TlistRefType allow_tlist_ref = TLIST_NONE) const
std::string to_string() const

Public Static Functions

std::shared_ptr<Analyzer::Expr> get(std::shared_ptr<Analyzer::Expr> target_value, std::shared_ptr<Analyzer::Expr> lower_bound, std::shared_ptr<Analyzer::Expr> upper_bound, std::shared_ptr<Analyzer::Expr> partition_count)

Private Members

std::unique_ptr<Expr> target_value_
std::unique_ptr<Expr> lower_bound_
std::unique_ptr<Expr> upper_bound_
std::unique_ptr<Expr> partition_count_