OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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
visitGeoExpr (const Analyzer::GeoExpr *geo_expr) 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
visitSampleRatio (const Analyzer::SampleRatioExpr *sample_ratio) const
 
virtual std::unordered_set
< InputColDescriptor
visitStringOper (const Analyzer::StringOper *string_oper) 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
visitWidthBucket (const Analyzer::WidthBucketExpr *width_bucket_expr) const
 
virtual std::unordered_set
< InputColDescriptor
visitMLPredict (const Analyzer::MLPredictExpr *ml_predict_expr) const
 
virtual std::unordered_set
< InputColDescriptor
visitPCAProject (const Analyzer::PCAProjectExpr *pca_project_expr) 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
visitGeoUOper (const Analyzer::GeoUOper *geo_expr) const
 
virtual std::unordered_set
< InputColDescriptor
visitGeoBinOper (const Analyzer::GeoBinOper *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
visitRangeJoinOper (const Analyzer::RangeOper *range_oper) const
 
virtual void visitBegin () 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 41 of file JoinFilterPushDown.cpp.

References run_benchmark_import::result.

43  {
44  auto result = aggregate;
45  result.insert(next_result.begin(), next_result.end());
46  return result;
47  }
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::getColumnKey().

34  {
35  const auto& column_key = col_var->getColumnKey();
36  return {InputColDescriptor(
37  column_key.column_id, column_key.table_id, column_key.db_id, 0)};
38  }
const shared::ColumnKey & getColumnKey() const
Definition: Analyzer.h:198

+ Here is the call graph for this function:


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