OmniSciDB  8fa3bf436f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
InputColDescriptor Class Reference

#include <InputDescriptors.h>

+ Collaboration diagram for InputColDescriptor:

Public Member Functions

 InputColDescriptor (const int col_id, const int table_id, const int nest_level)
bool operator== (const InputColDescriptor &that) const
int getColId () const
const InputDescriptorgetScanDesc () const
virtual ~InputColDescriptor ()
std::string toString () const

Private Attributes

const int col_id_
const InputDescriptor input_desc_

Detailed Description

Definition at line 69 of file InputDescriptors.h.

Constructor & Destructor Documentation

InputColDescriptor::InputColDescriptor ( const int  col_id,
const int  table_id,
const int  nest_level 

Definition at line 71 of file InputDescriptors.h.

72  : col_id_(col_id), input_desc_(table_id, nest_level) {}
const InputDescriptor input_desc_
virtual InputColDescriptor::~InputColDescriptor ( )

Definition at line 82 of file InputDescriptors.h.

82 {}

Member Function Documentation

int InputColDescriptor::getColId ( ) const

Definition at line 78 of file InputDescriptors.h.

References col_id_.

Referenced by ColumnFetcher::addMergedChunk(), ColumnFetcher::getChunkiter(), ColumnFetcher::getResultSetColumn(), PlanState::isLazyFetchColumn(), std::hash< InputColDescriptor >::operator()(), operator<<(), and anonymous_namespace{Execute.cpp}::try_get_column_descriptor().

78 { return col_id_; }

+ Here is the caller graph for this function:

const InputDescriptor& InputColDescriptor::getScanDesc ( ) const
bool InputColDescriptor::operator== ( const InputColDescriptor that) const

Definition at line 74 of file InputDescriptors.h.

References col_id_, and input_desc_.

74  {
75  return col_id_ == that.col_id_ && input_desc_ == that.input_desc_;
76  }
const InputDescriptor input_desc_
std::string InputColDescriptor::toString ( ) const

Definition at line 84 of file InputDescriptors.h.

References col_id_, input_desc_, to_string(), and typeName().

84  {
85  return ::typeName(this) + "(col_id=" + std::to_string(col_id_) +
86  ", input_desc=" + ::toString(input_desc_) + ")";
87  }
std::string to_string(char const *&&v)
std::string toString() const
std::string typeName(const T *v)
Definition: toString.h:82
const InputDescriptor input_desc_

+ Here is the call graph for this function:

Member Data Documentation

const int InputColDescriptor::col_id_

Definition at line 90 of file InputDescriptors.h.

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

const InputDescriptor InputColDescriptor::input_desc_

Definition at line 91 of file InputDescriptors.h.

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

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