OmniSciDB  d2f719934e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QueryPhysicalInputsCollector.h File Reference
#include <ostream>
#include <unordered_set>
+ Include dependency graph for QueryPhysicalInputsCollector.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PhysicalInput
 
struct  std::hash< PhysicalInput >
 

Namespaces

 std
 

Functions

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

Function Documentation

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

Definition at line 205 of file QueryPhysicalInputsCollector.cpp.

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

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

+ Here is the caller graph for this function:

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

Definition at line 210 of file QueryPhysicalInputsCollector.cpp.

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

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

+ Here is the caller graph for this function:

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

Definition at line 215 of file QueryPhysicalInputsCollector.cpp.

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

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