OmniSciDB
a5dc49c757
|
#include <HashTable.h>
Public Member Functions | |
HashTableEntryInfo (size_t num_hash_entries, size_t num_keys, size_t rowid_size_in_bytes, HashType layout, bool for_window_framing=false) | |
virtual size_t | computeTotalNumSlots () const =0 |
virtual size_t | computeHashTableSize () const =0 |
size_t | getNumHashEntries () const |
size_t | getNumKeys () const |
size_t | getRowIdSizeInBytes () const |
HashType | getHashTableLayout () const |
void | setNumHashEntries (size_t num_hash_entries) |
void | setNumKeys (size_t num_keys) |
void | setRowIdSizeInBytes (size_t rowid_size_in_bytes) |
void | setHashTableLayout (HashType layout) |
bool | forWindowFraming () const |
Protected Attributes | |
size_t | num_hash_entries_ |
size_t | num_keys_ |
size_t | rowid_size_in_bytes_ |
HashType | layout_ |
bool | for_window_framing_ |
Definition at line 34 of file HashTable.h.
|
inline |
Definition at line 36 of file HashTable.h.
|
pure virtual |
Implemented in BaselineHashTableEntryInfo, and PerfectHashTableEntryInfo.
|
pure virtual |
Implemented in BaselineHashTableEntryInfo, and PerfectHashTableEntryInfo.
|
inline |
|
inline |
Definition at line 53 of file HashTable.h.
References layout_.
Referenced by BaselineHashTable::BaselineHashTable(), PerfectHashTable::getLayout(), BaselineHashTable::getLayout(), RangeJoinHashTable::initHashTableOnCpu(), BoundingBoxIntersectJoinHashTable::initHashTableOnCpu(), BaselineJoinHashTableBuilder::initHashTableOnCpu(), BaselineJoinHashTableBuilder::initHashTableOnGpu(), and PerfectHashTable::printInitLog().
|
inline |
Definition at line 50 of file HashTable.h.
References num_hash_entries_.
Referenced by BaselineHashTable::BaselineHashTable(), PerfectHashTable::getEntryCount(), BaselineHashTable::getEntryCount(), BaselineJoinHashTableBuilder::initHashTableOnGpu(), and PerfectHashTable::printInitLog().
|
inline |
Definition at line 51 of file HashTable.h.
References num_keys_.
Referenced by BaselineHashTable::BaselineHashTable(), PerfectHashTable::getEmittedKeysCount(), BaselineHashTable::getEmittedKeysCount(), BaselineJoinHashTableBuilder::initHashTableOnGpu(), PerfectJoinHashTableBuilder::initOneToManyHashTableOnCpu(), PerfectJoinHashTableBuilder::initOneToOneHashTableOnCpu(), and PerfectHashTable::printInitLog().
|
inline |
Definition at line 52 of file HashTable.h.
References rowid_size_in_bytes_.
Referenced by PerfectHashTable::allocateGpuMemory(), BaselineHashTable::BaselineHashTable(), PerfectHashTable::getRowIdSize(), and BaselineHashTable::getRowIdSize().
|
inline |
|
inline |
Definition at line 54 of file HashTable.h.
References num_hash_entries_.
Referenced by PerfectJoinHashTableBuilder::allocateDeviceMemory().
|
inline |
|
inline |
|
protected |
Definition at line 69 of file HashTable.h.
Referenced by BaselineHashTableEntryInfo::computeNumAdditionalSlotsForOneToManyJoin(), PerfectHashTableEntryInfo::computeTotalNumSlots(), and forWindowFraming().
|
protected |
Definition at line 68 of file HashTable.h.
Referenced by BaselineHashTableEntryInfo::computeKeySize(), BaselineHashTableEntryInfo::computeNumAdditionalSlotsForOneToManyJoin(), PerfectHashTableEntryInfo::computeTotalNumSlots(), getHashTableLayout(), and setHashTableLayout().
|
protected |
Definition at line 65 of file HashTable.h.
Referenced by BaselineHashTableEntryInfo::computeNumAdditionalSlotsForOneToManyJoin(), PerfectHashTableEntryInfo::computeTotalNumSlots(), BaselineHashTableEntryInfo::computeTotalNumSlots(), getNumHashEntries(), and setNumHashEntries().
|
protected |
Definition at line 66 of file HashTable.h.
Referenced by BaselineHashTableEntryInfo::computeNumAdditionalSlotsForOneToManyJoin(), PerfectHashTableEntryInfo::computeTotalNumSlots(), getNumKeys(), and setNumKeys().
|
protected |
Definition at line 67 of file HashTable.h.
Referenced by PerfectHashTableEntryInfo::computeHashTableSize(), BaselineHashTableEntryInfo::computeHashTableSize(), getRowIdSizeInBytes(), and setRowIdSizeInBytes().