OmniSciDB  b28c0d5765
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 Types

using TableIds = std::unordered_set< int >
 

Static Public Member Functions

static TableIds getTableIds (RelAlgNode const *node)
 

Private Member Functions

void visit (RelScan const *scan) override
 
void visit (RelLogicalValues const *) override
 

Private Attributes

TableIds table_ids_
 

Additional Inherited Members

- Public Member Functions inherited from RelRexDagVisitor
virtual ~RelRexDagVisitor ()=default
 
virtual void visit (RelAlgNode const *)
 
virtual void visit (RexScalar const *)
 
- Protected Member Functions inherited from RelRexDagVisitor
virtual void visit (RelAggregate const *)
 
virtual void visit (RelCompound const *)
 
virtual void visit (RelFilter const *)
 
virtual void visit (RelJoin const *)
 
virtual void visit (RelLeftDeepInnerJoin const *)
 
virtual void visit (RelLogicalUnion const *)
 
virtual void visit (RelModify const *)
 
virtual void visit (RelProject const *)
 
virtual void visit (RelSort const *)
 
virtual void visit (RelTableFunction const *)
 
virtual void visit (RelTranslatedJoin const *)
 
virtual void visit (RexAbstractInput const *)
 
virtual void visit (RexCase const *)
 
virtual void visit (RexFunctionOperator const *)
 
virtual void visit (RexInput const *)
 
virtual void visit (RexLiteral const *)
 
virtual void visit (RexOperator const *)
 
virtual void visit (RexRef const *)
 
virtual void visit (RexSubQuery const *)
 
virtual void visit (RexWindowFunctionOperator const *)
 
void castAndVisit (RelAlgNode const *)
 

Detailed Description

Definition at line 188 of file QueryPhysicalInputsCollector.cpp.

Member Typedef Documentation

using anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalTableInputsVisitor::TableIds = std::unordered_set<int>

Definition at line 191 of file QueryPhysicalInputsCollector.cpp.

Member Function Documentation

static TableIds anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalTableInputsVisitor::getTableIds ( RelAlgNode const *  node)
inlinestatic

Definition at line 193 of file QueryPhysicalInputsCollector.cpp.

References table_ids_, and visit().

193  {
194  RelAlgPhysicalTableInputsVisitor visitor;
195  visitor.visit(node);
196  return std::move(visitor.table_ids_);
197  }

+ Here is the call graph for this function:

void anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalTableInputsVisitor::visit ( RelScan const *  scan)
inlineoverrideprivatevirtual

Reimplemented from RelRexDagVisitor.

Definition at line 202 of file QueryPhysicalInputsCollector.cpp.

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

Referenced by getTableIds().

202  {
203  table_ids_.insert(scan->getTableDescriptor()->tableId);
204  }

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalTableInputsVisitor::visit ( RelLogicalValues const *  )
inlineoverrideprivatevirtual

Reimplemented from RelRexDagVisitor.

Definition at line 208 of file QueryPhysicalInputsCollector.cpp.

208 {}

Member Data Documentation

TableIds anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalTableInputsVisitor::table_ids_
private

Definition at line 200 of file QueryPhysicalInputsCollector.cpp.

Referenced by getTableIds().


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