OmniSciDB  a5dc49c757
 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 (int32_t col_id, int32_t table_id, int32_t db_id, int32_t nest_level)
 
bool operator== (const InputColDescriptor &that) const
 
int getColId () const
 
const InputDescriptorgetScanDesc () const
 
shared::TableKey getTableKey () const
 
shared::ColumnKey getColumnKey () const
 
size_t hash () const
 
std::string toString () const
 

Private Attributes

const int col_id_
 
const InputDescriptor input_desc_
 

Detailed Description

Definition at line 59 of file InputDescriptors.h.

Constructor & Destructor Documentation

InputColDescriptor::InputColDescriptor ( int32_t  col_id,
int32_t  table_id,
int32_t  db_id,
int32_t  nest_level 
)
inline

Definition at line 61 of file InputDescriptors.h.

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

Member Function Documentation

int InputColDescriptor::getColId ( ) const
inline

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

68 { return col_id_; }

+ Here is the caller graph for this function:

shared::ColumnKey InputColDescriptor::getColumnKey ( ) const
inline

Definition at line 76 of file InputDescriptors.h.

References col_id_, and getTableKey().

76  {
78  }
shared::TableKey getTableKey() const

+ Here is the call graph for this function:

const InputDescriptor& InputColDescriptor::getScanDesc ( ) const
inline
shared::TableKey InputColDescriptor::getTableKey ( ) const
inline

Definition at line 72 of file InputDescriptors.h.

References InputDescriptor::getTableKey(), and input_desc_.

Referenced by getColumnKey().

72  {
74  }
const shared::TableKey & getTableKey() const
const InputDescriptor input_desc_

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

size_t InputColDescriptor::hash ( ) const
inline

Definition at line 80 of file InputDescriptors.h.

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

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

80  {
81  return input_desc_.hash() ^ (static_cast<size_t>(col_id_) << 16);
82  }
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 64 of file InputDescriptors.h.

References col_id_, and input_desc_.

64  {
65  return col_id_ == that.col_id_ && input_desc_ == that.input_desc_;
66  }
const InputDescriptor input_desc_
std::string InputColDescriptor::toString ( ) const
inline

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:106
const InputDescriptor input_desc_

+ Here is the call graph for this function:

Member Data Documentation

const int InputColDescriptor::col_id_
private

Definition at line 90 of file InputDescriptors.h.

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

const InputDescriptor InputColDescriptor::input_desc_
private

Definition at line 91 of file InputDescriptors.h.

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


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