OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Analyzer::GeoColumnVar Class Reference

#include <Analyzer.h>

+ Inheritance diagram for Analyzer::GeoColumnVar:
+ Collaboration diagram for Analyzer::GeoColumnVar:

Public Member Functions

 GeoColumnVar (const SQLTypeInfo &ti, const int table_id, const int column_id, const int range_table_index, const bool with_bounds, const bool with_render_group)
 
 GeoColumnVar (const Analyzer::ColumnVar *column_var, const bool with_bounds, const bool with_render_group)
 
- Public Member Functions inherited from Analyzer::ColumnVar
 ColumnVar (const SQLTypeInfo &ti, int r, int c, int i)
 
int get_table_id () const
 
int get_column_id () const
 
int get_rte_idx () const
 
EncodingType get_compression () const
 
int get_comp_param () const
 
void check_group_by (const std::list< std::shared_ptr< Analyzer::Expr >> &groupby) const override
 
std::shared_ptr< Analyzer::Exprdeep_copy () const override
 
void group_predicates (std::list< const Expr * > &scan_predicates, std::list< const Expr * > &join_predicates, std::list< const Expr * > &const_predicates) const override
 
void collect_rte_idx (std::set< int > &rte_idx_set) const override
 
void collect_column_var (std::set< const ColumnVar *, bool(*)(const ColumnVar *, const ColumnVar *)> &colvar_set, bool include_agg) const override
 
std::shared_ptr< Analyzer::Exprrewrite_with_targetlist (const std::vector< std::shared_ptr< TargetEntry >> &tlist) const override
 
std::shared_ptr< Analyzer::Exprrewrite_with_child_targetlist (const std::vector< std::shared_ptr< TargetEntry >> &tlist) const override
 
std::shared_ptr< Analyzer::Exprrewrite_agg_to_var (const std::vector< std::shared_ptr< TargetEntry >> &tlist) const override
 
bool operator== (const Expr &rhs) const override
 
std::string toString () const override
 
- Public Member Functions inherited from Analyzer::Expr
 Expr (SQLTypes t, bool notnull)
 
 Expr (SQLTypes t, int d, bool notnull)
 
 Expr (SQLTypes t, int d, int s, bool notnull)
 
 Expr (const SQLTypeInfo &ti, bool has_agg=false)
 
virtual ~Expr ()
 
std::shared_ptr< Analyzer::Exprget_shared_ptr ()
 
const SQLTypeInfoget_type_info () const
 
void set_type_info (const SQLTypeInfo &ti)
 
bool get_contains_agg () const
 
void set_contains_agg (bool a)
 
virtual std::shared_ptr
< Analyzer::Expr
add_cast (const SQLTypeInfo &new_type_info)
 
virtual std::shared_ptr
< Analyzer::Expr
normalize_simple_predicate (int &rte_idx) const
 
virtual void print () const
 
virtual void add_unique (std::list< const Expr * > &expr_list) const
 
virtual void find_expr (bool(*f)(const Expr *), std::list< const Expr * > &expr_list) const
 
std::shared_ptr< Analyzer::Exprdecompress ()
 
virtual void get_domain (DomainSet &domain_set) const
 

Protected Attributes

bool with_bounds_
 
bool with_render_group_
 
- Protected Attributes inherited from Analyzer::ColumnVar
int table_id
 
int column_id
 
int rte_idx
 
- Protected Attributes inherited from Analyzer::Expr
SQLTypeInfo type_info
 
bool contains_agg
 

Additional Inherited Members

- Static Public Member Functions inherited from Analyzer::ColumnVar
static bool colvar_comp (const ColumnVar *l, const ColumnVar *r)
 

Detailed Description

An umbrella column var holding all information required to generate code for subcolumns. Note that this currently inherits from ColumnVar, not the GeoExpr umbrella type, because we use the same codegen paths regardless of columnvar type.

Definition at line 1848 of file Analyzer.h.

Constructor & Destructor Documentation

Analyzer::GeoColumnVar::GeoColumnVar ( const SQLTypeInfo ti,
const int  table_id,
const int  column_id,
const int  range_table_index,
const bool  with_bounds,
const bool  with_render_group 
)
inline

Definition at line 1850 of file Analyzer.h.

1856  : ColumnVar(ti, table_id, column_id, range_table_index)
1857  , with_bounds_(with_bounds)
1858  , with_render_group_(with_render_group) {}
ColumnVar(const SQLTypeInfo &ti, int r, int c, int i)
Definition: Analyzer.h:191
Analyzer::GeoColumnVar::GeoColumnVar ( const Analyzer::ColumnVar column_var,
const bool  with_bounds,
const bool  with_render_group 
)
inline

Definition at line 1860 of file Analyzer.h.

1863  : ColumnVar(column_var->get_type_info(),
1864  column_var->get_table_id(),
1865  column_var->get_column_id(),
1866  column_var->get_rte_idx())
1867  , with_bounds_(with_bounds)
1868  , with_render_group_(with_render_group) {}
int get_table_id() const
Definition: Analyzer.h:193
ColumnVar(const SQLTypeInfo &ti, int r, int c, int i)
Definition: Analyzer.h:191
const SQLTypeInfo & get_type_info() const
Definition: Analyzer.h:77
int get_rte_idx() const
Definition: Analyzer.h:195
int get_column_id() const
Definition: Analyzer.h:194

Member Data Documentation

bool Analyzer::GeoColumnVar::with_bounds_
protected

Definition at line 1871 of file Analyzer.h.

bool Analyzer::GeoColumnVar::with_render_group_
protected

Definition at line 1872 of file Analyzer.h.


The documentation for this class was generated from the following file: