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

Public Member Functions

std::unordered_set< int > visitScan (const RelScan *scan) const override
 
- Public Member Functions inherited from RelAlgVisitor< std::unordered_set< int > >
std::unordered_set< int > visit (const RelAlgNode *rel_alg) const
 
virtual std::unordered_set< int > visitAggregate (const RelAggregate *) const
 
virtual std::unordered_set< int > visitCompound (const RelCompound *) const
 
virtual std::unordered_set< int > visitFilter (const RelFilter *) const
 
virtual std::unordered_set< int > visitJoin (const RelJoin *) const
 
virtual std::unordered_set< int > visitLeftDeepInnerJoin (const RelLeftDeepInnerJoin *) const
 
virtual std::unordered_set< int > visitProject (const RelProject *) const
 
virtual std::unordered_set< int > visitSort (const RelSort *) const
 
virtual std::unordered_set< int > visitLogicalValues (const RelLogicalValues *) const
 
virtual std::unordered_set< int > visitModify (const RelModify *) const
 
virtual std::unordered_set< int > visitTableFunction (const RelTableFunction *) const
 

Protected Member Functions

std::unordered_set< int > aggregateResult (const std::unordered_set< int > &aggregate, const std::unordered_set< int > &next_result) const override
 
- Protected Member Functions inherited from RelAlgVisitor< std::unordered_set< int > >
virtual std::unordered_set< int > defaultResult () const
 

Detailed Description

Definition at line 188 of file QueryPhysicalInputsCollector.cpp.

Member Function Documentation

std::unordered_set<int> anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalTableInputsVisitor::aggregateResult ( const std::unordered_set< int > &  aggregate,
const std::unordered_set< int > &  next_result 
) const
inlineoverrideprotectedvirtual

Reimplemented from RelAlgVisitor< std::unordered_set< int > >.

Definition at line 195 of file QueryPhysicalInputsCollector.cpp.

References run_benchmark_import::result.

197  {
198  auto result = aggregate;
199  result.insert(next_result.begin(), next_result.end());
200  return result;
201  }
std::unordered_set<int> anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalTableInputsVisitor::visitScan ( const RelScan scan) const
inlineoverridevirtual

Reimplemented from RelAlgVisitor< std::unordered_set< int > >.

Definition at line 190 of file QueryPhysicalInputsCollector.cpp.

References RelScan::getTableDescriptor(), and TableDescriptor::tableId.

190  {
191  return {scan->getTableDescriptor()->tableId};
192  }
const TableDescriptor * getTableDescriptor() const

+ Here is the call graph for this function:


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