OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
QueryPhysicalInputsCollector.cpp File Reference
+ Include dependency graph for QueryPhysicalInputsCollector.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalInputsVisitor
 
class  anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor
 
class  anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalTableInputsVisitor
 

Namespaces

 anonymous_namespace{QueryPhysicalInputsCollector.cpp}
 

Typedefs

using anonymous_namespace{QueryPhysicalInputsCollector.cpp}::PhysicalInputSet = std::unordered_set< PhysicalInput >
 

Functions

std::unordered_set< PhysicalInputget_physical_inputs (const RelAlgNode *ra)
 
std::unordered_set< int > get_physical_table_inputs (const RelAlgNode *ra)
 
std::ostream & operator<< (std::ostream &os, PhysicalInput const &physical_input)
 

Function Documentation

std::unordered_set<PhysicalInput> get_physical_inputs ( const RelAlgNode ra)

Definition at line 206 of file QueryPhysicalInputsCollector.cpp.

Referenced by RelAlgExecutor::computeColRangesCache(), RelAlgExecutor::computeStringDictionaryGenerations(), RelAlgExecutor::executeRelAlgQueryNoRetry(), anonymous_namespace{RelAlgExecutor.cpp}::get_physical_inputs(), RelAlgExecutor::getOuterFragmentCount(), and anonymous_namespace{RelAlgExecutor.cpp}::prepare_foreign_table_for_execution().

206  {
207  RelAlgPhysicalInputsVisitor phys_inputs_visitor;
208  return phys_inputs_visitor.visit(ra);
209 }

+ Here is the caller graph for this function:

std::unordered_set<int> get_physical_table_inputs ( const RelAlgNode ra)

Definition at line 211 of file QueryPhysicalInputsCollector.cpp.

Referenced by RelAlgExecutor::computeTableGenerations(), RelAlgExecutor::executeRelAlgQueryNoRetry(), and RelAlgExecutor::getOuterFragmentCount().

211  {
212  RelAlgPhysicalTableInputsVisitor phys_table_inputs_visitor;
213  return phys_table_inputs_visitor.visit(ra);
214 }

+ Here is the caller graph for this function:

std::ostream& operator<< ( std::ostream &  os,
PhysicalInput const &  physical_input 
)

Definition at line 216 of file QueryPhysicalInputsCollector.cpp.

References PhysicalInput::col_id, and PhysicalInput::table_id.

216  {
217  return os << '(' << physical_input.col_id << ',' << physical_input.table_id << ')';
218 }