OmniSciDB  ca0c39ec8f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InputColDescriptor Class Referencefinal

#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
 
size_t hash () const
 
std::string toString () const
 

Private Attributes

const int col_id_
 
const InputDescriptor input_desc_
 

Detailed Description

Definition at line 66 of file InputDescriptors.h.

Constructor & Destructor Documentation

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

Definition at line 68 of file InputDescriptors.h.

69  : col_id_(col_id), input_desc_(table_id, nest_level) {}
const InputDescriptor input_desc_

Member Function Documentation

int InputColDescriptor::getColId ( ) const
inline

Definition at line 75 of file InputDescriptors.h.

References col_id_.

Referenced by ColumnFetcher::addMergedChunkIter(), ColumnFetcher::getChunkiter(), ColumnFetcher::getResultSetColumn(), PlanState::isLazyFetchColumn(), operator<<(), and anonymous_namespace{Execute.cpp}::try_get_column_descriptor().

75 { return col_id_; }

+ Here is the caller graph for this function:

const InputDescriptor& InputColDescriptor::getScanDesc ( ) const
inline
size_t InputColDescriptor::hash ( ) const
inline

Definition at line 79 of file InputDescriptors.h.

References col_id_, InputDescriptor::hash(), and input_desc_.

Referenced by std::hash< InputColDescriptor >::operator()(), and std::hash< const InputColDescriptor * >::operator()().

79  {
80  return input_desc_.hash() ^ (static_cast<size_t>(col_id_) << 16);
81  }
size_t hash() const
const InputDescriptor input_desc_

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 71 of file InputDescriptors.h.

References col_id_, and input_desc_.

71  {
72  return col_id_ == that.col_id_ && input_desc_ == that.input_desc_;
73  }
const InputDescriptor input_desc_
std::string InputColDescriptor::toString ( ) const
inline

Definition at line 83 of file InputDescriptors.h.

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

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

+ Here is the call graph for this function:

Member Data Documentation

const int InputColDescriptor::col_id_
private

Definition at line 89 of file InputDescriptors.h.

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

const InputDescriptor InputColDescriptor::input_desc_
private

Definition at line 90 of file InputDescriptors.h.

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


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