Class Analyzer::Var

class Var : public Analyzer::ColumnVar

Public Types

enum WhichRow

Values:

kINPUT_OUTER
kINPUT_INNER
kOUTPUT
kGROUPBY

Public Functions

Var(const SQLTypeInfo &ti, int r, int c, int i, WhichRow o, int v)
Var(const SQLTypeInfo &ti, WhichRow o, int v)
WhichRow get_which_row() const
void set_which_row(WhichRow r)
int get_varno() const
void set_varno(int n)
std::shared_ptr<Analyzer::Expr> deep_copy() const
std::string toString() const
void check_group_by(const std::list<std::shared_ptr<Analyzer::Expr>> &groupby) const
void collect_rte_idx(std::set<int> &rte_idx_set) const
std::shared_ptr<Analyzer::Expr> rewrite_with_targetlist(const std::vector<std::shared_ptr<TargetEntry>> &tlist) const
std::shared_ptr<Analyzer::Expr> rewrite_with_child_targetlist(const std::vector<std::shared_ptr<TargetEntry>> &tlist) const
std::shared_ptr<Analyzer::Expr> rewrite_agg_to_var(const std::vector<std::shared_ptr<TargetEntry>> &tlist) const

Private Members

WhichRow which_row
int varno