OmniSciDB  a575cb28ea
 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
 
std::string toString () const
 

Private Attributes

int table_id_
 
int nest_level_
 

Detailed Description

Definition at line 28 of file InputDescriptors.h.

Constructor & Destructor Documentation

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

Definition at line 30 of file InputDescriptors.h.

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

Member Function Documentation

int InputDescriptor::getNestLevel ( ) const
inline

Definition at line 39 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()().

39 { return nest_level_; }

+ Here is the caller graph for this function:

InputSourceType InputDescriptor::getSourceType ( ) const
inline

Definition at line 41 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 37 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().

37 { return table_id_; }

+ Here is the caller graph for this function:

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

Definition at line 33 of file InputDescriptors.h.

References nest_level_, and table_id_.

33  {
34  return table_id_ == that.table_id_ && nest_level_ == that.nest_level_;
35  }
std::string InputDescriptor::toString ( ) const
inline

Definition at line 45 of file InputDescriptors.h.

References nest_level_, table_id_, and to_string().

45  {
46  return ::typeName(this) + "(table_id=" + std::to_string(table_id_) +
47  ", nest_level=" + std::to_string(nest_level_) + ")";
48  }
std::string to_string(char const *&&v)

+ Here is the call graph for this function:

Member Data Documentation

int InputDescriptor::nest_level_
private

Definition at line 52 of file InputDescriptors.h.

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

int InputDescriptor::table_id_
private

Definition at line 51 of file InputDescriptors.h.

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


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