Class Analyzer::Query¶
-
class
Query
¶ Public Functions
-
Query
()¶
-
~Query
()¶
-
bool
get_is_distinct
() const¶
-
int
get_num_aggs
() const¶
-
const std::vector<std::shared_ptr<TargetEntry>> &
get_targetlist
() const¶
-
std::vector<std::shared_ptr<TargetEntry>> &
get_targetlist_nonconst
()¶
-
const std::vector<RangeTableEntry *> &
get_rangetable
() const¶
-
const std::list<OrderEntry> *
get_order_by
() const¶
-
SQLStmtType
get_stmt_type
() const¶
-
bool
get_is_unionall
() const¶
-
int
get_result_table_id
() const¶
-
const std::list<int> &
get_result_col_list
() const¶
-
void
set_result_col_list
(const std::list<int> &col_list)¶
-
void
set_result_table_id
(int id)¶
-
void
set_is_distinct
(bool d)¶
-
void
set_order_by
(std::list<OrderEntry> *o)¶
-
void
set_is_unionall
(bool u)¶
-
void
set_stmt_type
(SQLStmtType t)¶
-
void
set_num_aggs
(int a)¶
-
int
get_rte_idx
(const std::string &range_var_name) const¶
-
RangeTableEntry *
get_rte
(int rte_idx) const¶
-
void
add_rte
(RangeTableEntry *rte)¶
-
int64_t
get_limit
() const¶
-
void
set_limit
(int64_t l)¶
-
int64_t
get_offset
() const¶
-
void
set_offset
(int64_t o)¶
Private Members
-
bool
is_distinct
¶
-
std::vector<std::shared_ptr<TargetEntry>>
targetlist
¶
-
std::vector<RangeTableEntry *>
rangetable
¶
-
std::list<OrderEntry> *
order_by
¶
-
bool
is_unionall
¶
-
SQLStmtType
stmt_type
¶
-
int
num_aggs
¶
-
int
result_table_id
¶
-
std::list<int>
result_col_list
¶
-
int64_t
limit
¶
-
int64_t
offset
¶
-