OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{JoinFilterPushDown.cpp}::CollectInputColumnsVisitor Class Reference
+ Inheritance diagram for anonymous_namespace{JoinFilterPushDown.cpp}::CollectInputColumnsVisitor:
+ Collaboration diagram for anonymous_namespace{JoinFilterPushDown.cpp}::CollectInputColumnsVisitor:

Public Member Functions

std::unordered_set
< InputColDescriptor
aggregateResult (const std::unordered_set< InputColDescriptor > &aggregate, const std::unordered_set< InputColDescriptor > &next_result) const override
 
- Public Member Functions inherited from ScalarExprVisitor< std::unordered_set< InputColDescriptor > >
std::unordered_set
< InputColDescriptor
visit (const Analyzer::Expr *expr) const
 

Private Member Functions

std::unordered_set
< InputColDescriptor
visitColumnVar (const Analyzer::ColumnVar *col_var) const override
 

Additional Inherited Members

- Protected Member Functions inherited from ScalarExprVisitor< std::unordered_set< InputColDescriptor > >
virtual std::unordered_set
< InputColDescriptor
visitVar (const Analyzer::Var *) const
 
virtual std::unordered_set
< InputColDescriptor
visitColumnVarTuple (const Analyzer::ExpressionTuple *) const
 
virtual std::unordered_set
< InputColDescriptor
visitConstant (const Analyzer::Constant *) const
 
virtual std::unordered_set
< InputColDescriptor
visitUOper (const Analyzer::UOper *uoper) const
 
virtual std::unordered_set
< InputColDescriptor
visitBinOper (const Analyzer::BinOper *bin_oper) const
 
virtual std::unordered_set
< InputColDescriptor
visitInValues (const Analyzer::InValues *in_values) const
 
virtual std::unordered_set
< InputColDescriptor
visitInIntegerSet (const Analyzer::InIntegerSet *in_integer_set) const
 
virtual std::unordered_set
< InputColDescriptor
visitCharLength (const Analyzer::CharLengthExpr *char_length) const
 
virtual std::unordered_set
< InputColDescriptor
visitKeyForString (const Analyzer::KeyForStringExpr *key_for_string) const
 
virtual std::unordered_set
< InputColDescriptor
visitLower (const Analyzer::LowerExpr *lower_expr) const
 
virtual std::unordered_set
< InputColDescriptor
visitCardinality (const Analyzer::CardinalityExpr *cardinality) const
 
virtual std::unordered_set
< InputColDescriptor
visitLikeExpr (const Analyzer::LikeExpr *like) const
 
virtual std::unordered_set
< InputColDescriptor
visitRegexpExpr (const Analyzer::RegexpExpr *regexp) const
 
virtual std::unordered_set
< InputColDescriptor
visitCaseExpr (const Analyzer::CaseExpr *case_) const
 
virtual std::unordered_set
< InputColDescriptor
visitDatetruncExpr (const Analyzer::DatetruncExpr *datetrunc) const
 
virtual std::unordered_set
< InputColDescriptor
visitExtractExpr (const Analyzer::ExtractExpr *extract) const
 
virtual std::unordered_set
< InputColDescriptor
visitFunctionOperWithCustomTypeHandling (const Analyzer::FunctionOperWithCustomTypeHandling *func_oper) const
 
virtual std::unordered_set
< InputColDescriptor
visitArrayOper (Analyzer::ArrayExpr const *array_expr) const
 
virtual std::unordered_set
< InputColDescriptor
visitGeoExpr (const Analyzer::GeoExpr *geo_expr) const
 
virtual std::unordered_set
< InputColDescriptor
visitFunctionOper (const Analyzer::FunctionOper *func_oper) const
 
virtual std::unordered_set
< InputColDescriptor
visitWindowFunction (const Analyzer::WindowFunction *window_func) const
 
virtual std::unordered_set
< InputColDescriptor
visitDatediffExpr (const Analyzer::DatediffExpr *datediff) const
 
virtual std::unordered_set
< InputColDescriptor
visitDateaddExpr (const Analyzer::DateaddExpr *dateadd) const
 
virtual std::unordered_set
< InputColDescriptor
visitLikelihood (const Analyzer::LikelihoodExpr *likelihood) const
 
virtual std::unordered_set
< InputColDescriptor
visitOffsetInFragment (const Analyzer::OffsetInFragment *) const
 
virtual std::unordered_set
< InputColDescriptor
visitAggExpr (const Analyzer::AggExpr *agg) const
 
virtual std::unordered_set
< InputColDescriptor
defaultResult () const
 

Detailed Description

Definition at line 31 of file JoinFilterPushDown.cpp.

Member Function Documentation

std::unordered_set<InputColDescriptor> anonymous_namespace{JoinFilterPushDown.cpp}::CollectInputColumnsVisitor::aggregateResult ( const std::unordered_set< InputColDescriptor > &  aggregate,
const std::unordered_set< InputColDescriptor > &  next_result 
) const
inlineoverridevirtual

Reimplemented from ScalarExprVisitor< std::unordered_set< InputColDescriptor > >.

Definition at line 39 of file JoinFilterPushDown.cpp.

References run_benchmark_import::result.

41  {
42  auto result = aggregate;
43  result.insert(next_result.begin(), next_result.end());
44  return result;
45  }
std::unordered_set<InputColDescriptor> anonymous_namespace{JoinFilterPushDown.cpp}::CollectInputColumnsVisitor::visitColumnVar ( const Analyzer::ColumnVar col_var) const
inlineoverrideprivatevirtual

Reimplemented from ScalarExprVisitor< std::unordered_set< InputColDescriptor > >.

Definition at line 33 of file JoinFilterPushDown.cpp.

References Analyzer::ColumnVar::get_column_id(), and Analyzer::ColumnVar::get_table_id().

34  {
35  return {InputColDescriptor(col_var->get_column_id(), col_var->get_table_id(), 0)};
36  }
int get_table_id() const
Definition: Analyzer.h:194
int get_column_id() const
Definition: Analyzer.h:195

+ Here is the call graph for this function:


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