OmniSciDB  72c90bc290
 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 shared::ColumnKey &column_key, const int32_t range_table_index, const bool with_bounds)
 
 GeoColumnVar (const Analyzer::ColumnVar *column_var, const bool with_bounds)
 
- Public Member Functions inherited from Analyzer::ColumnVar
 ColumnVar (const SQLTypeInfo &ti, const shared::ColumnKey &column_key, int32_t rte_idx)
 
const shared::ColumnKeygetColumnKey () const
 
shared::TableKey getTableKey () const
 
int32_t get_rte_idx () const
 
void set_rte_idx (int32_t new_rte_idx)
 
EncodingType get_compression () 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< int32_t > &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 collect_rte_idx (std::set< int > &rte_idx_set) const
 
virtual size_t get_num_column_vars (const bool include_agg) const
 
virtual void print () const
 
virtual void add_unique (std::list< const Expr * > &expr_list) const
 
virtual void find_expr (std::function< bool(const Expr *)> f, 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_
 
- Protected Attributes inherited from Analyzer::ColumnVar
shared::ColumnKey column_key_
 
int32_t 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 3099 of file Analyzer.h.

Constructor & Destructor Documentation

Analyzer::GeoColumnVar::GeoColumnVar ( const SQLTypeInfo ti,
const shared::ColumnKey column_key,
const int32_t  range_table_index,
const bool  with_bounds 
)
inline

Definition at line 3101 of file Analyzer.h.

3105  : ColumnVar(ti, column_key, range_table_index), with_bounds_(with_bounds) {}
ColumnVar(const SQLTypeInfo &ti, const shared::ColumnKey &column_key, int32_t rte_idx)
Definition: Analyzer.h:196
Analyzer::GeoColumnVar::GeoColumnVar ( const Analyzer::ColumnVar column_var,
const bool  with_bounds 
)
inline

Definition at line 3107 of file Analyzer.h.

3108  : ColumnVar(column_var->get_type_info(),
3109  column_var->getColumnKey(),
3110  column_var->get_rte_idx())
3111  , with_bounds_(with_bounds) {}
ColumnVar(const SQLTypeInfo &ti, const shared::ColumnKey &column_key, int32_t rte_idx)
Definition: Analyzer.h:196
const SQLTypeInfo & get_type_info() const
Definition: Analyzer.h:79
const shared::ColumnKey & getColumnKey() const
Definition: Analyzer.h:198
int32_t get_rte_idx() const
Definition: Analyzer.h:202

Member Data Documentation

bool Analyzer::GeoColumnVar::with_bounds_
protected

Definition at line 3114 of file Analyzer.h.


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