OmniSciDB  c1a53651b2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PhysicalInput Struct Reference

#include <QueryPhysicalInputsCollector.h>

Public Member Functions

size_t hash () const
 
bool operator== (const PhysicalInput &that) const
 

Public Attributes

int32_t col_id
 
int32_t table_id
 
int32_t db_id
 

Detailed Description

Definition at line 31 of file QueryPhysicalInputsCollector.h.

Member Function Documentation

size_t PhysicalInput::hash ( ) const

Definition at line 230 of file QueryPhysicalInputsCollector.cpp.

References col_id, shared::compute_hash(), db_id, and table_id.

Referenced by std::hash< PhysicalInput >::operator()().

230  {
231  auto hash_value = shared::compute_hash(col_id, table_id);
232  boost::hash_combine(hash_value, db_id);
233  return hash_value;
234 }
size_t compute_hash(int32_t item_1, int32_t item_2)
Definition: misc.cpp:141

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool PhysicalInput::operator== ( const PhysicalInput that) const

Definition at line 236 of file QueryPhysicalInputsCollector.cpp.

References col_id, db_id, and table_id.

236  {
237  return col_id == that.col_id && table_id == that.table_id && db_id == that.db_id;
238 }

Member Data Documentation

int32_t PhysicalInput::col_id
int32_t PhysicalInput::db_id

Definition at line 34 of file QueryPhysicalInputsCollector.h.

Referenced by hash(), operator<<(), and operator==().


The documentation for this struct was generated from the following files: