OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
InputDescriptor Class Reference

#include <InputDescriptors.h>

Public Member Functions

 InputDescriptor (const int table_id, const int nest_level)
 
bool operator== (const InputDescriptor &that) const
 
int getTableId () const
 
int getNestLevel () const
 
InputSourceType getSourceType () const
 

Private Attributes

int table_id_
 
int nest_level_
 

Detailed Description

Definition at line 27 of file InputDescriptors.h.

Constructor & Destructor Documentation

InputDescriptor::InputDescriptor ( const int  table_id,
const int  nest_level 
)
inline

Definition at line 29 of file InputDescriptors.h.

30  : table_id_(table_id), nest_level_(nest_level) {}

Member Function Documentation

int InputDescriptor::getNestLevel ( ) const
inline

Definition at line 38 of file InputDescriptors.h.

References nest_level_.

Referenced by anonymous_namespace{RelAlgExecutor.cpp}::get_input_desc_impl(), PlanState::isLazyFetchColumn(), Executor::needFetchAllFragments(), and std::hash< InputDescriptor >::operator()().

38 { return nest_level_; }

+ Here is the caller graph for this function:

InputSourceType InputDescriptor::getSourceType ( ) const
inline

Definition at line 40 of file InputDescriptors.h.

References RESULT, TABLE, and table_id_.

Referenced by anonymous_namespace{Execute.cpp}::get_table_name(), ColumnFetcher::getAllTableColumnFragments(), and Executor::needFetchAllFragments().

+ Here is the caller graph for this function:

int InputDescriptor::getTableId ( ) const
inline

Definition at line 36 of file InputDescriptors.h.

References table_id_.

Referenced by anonymous_namespace{Execute.cpp}::get_table_name(), ColumnFetcher::getResultSetColumn(), PlanState::isLazyFetchColumn(), Executor::needFetchAllFragments(), std::hash< InputDescriptor >::operator()(), Executor::skipFragment(), and anonymous_namespace{Execute.cpp}::try_get_column_descriptor().

36 { return table_id_; }

+ Here is the caller graph for this function:

bool InputDescriptor::operator== ( const InputDescriptor that) const
inline

Definition at line 32 of file InputDescriptors.h.

References nest_level_, and table_id_.

32  {
33  return table_id_ == that.table_id_ && nest_level_ == that.nest_level_;
34  }

Member Data Documentation

int InputDescriptor::nest_level_
private

Definition at line 46 of file InputDescriptors.h.

Referenced by getNestLevel(), and operator==().

int InputDescriptor::table_id_
private

Definition at line 45 of file InputDescriptors.h.

Referenced by getSourceType(), getTableId(), and operator==().


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