OmniSciDB
a5dc49c757
|
#include <BaselineHashTable.h>
Public Member Functions | |
BaselineHashTableEntryInfo (size_t num_hash_entries, size_t num_keys, size_t rowid_size_in_bytes, size_t num_join_keys, size_t join_key_size_in_byte, HashType layout, bool for_window_framing=false) | |
size_t | computeTotalNumSlots () const override |
size_t | computeKeySize () const |
size_t | computeNumAdditionalSlotsForOneToManyJoin () const |
size_t | computeHashTableSize () const override |
size_t | getNumJoinKeys () const |
size_t | getJoinKeysSize () const |
Public Member Functions inherited from HashTableEntryInfo | |
HashTableEntryInfo (size_t num_hash_entries, size_t num_keys, size_t rowid_size_in_bytes, HashType layout, bool for_window_framing=false) | |
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 |
Private Attributes | |
size_t const | num_join_keys_ |
size_t const | join_key_size_in_byte_ |
Additional Inherited Members | |
Protected Attributes inherited from HashTableEntryInfo | |
size_t | num_hash_entries_ |
size_t | num_keys_ |
size_t | rowid_size_in_bytes_ |
HashType | layout_ |
bool | for_window_framing_ |
Definition at line 26 of file BaselineHashTable.h.
|
inline |
Definition at line 28 of file BaselineHashTable.h.
|
inlineoverridevirtual |
Implements HashTableEntryInfo.
Definition at line 56 of file BaselineHashTable.h.
References computeKeySize(), computeNumAdditionalSlotsForOneToManyJoin(), computeTotalNumSlots(), and HashTableEntryInfo::rowid_size_in_bytes_.
Referenced by BaselineJoinHashTableBuilder::allocateDeviceMemory(), BaselineHashTable::BaselineHashTable(), BaselineHashTable::getHashTableBufferSize(), and BaselineJoinHashTableBuilder::initHashTableOnCpu().
|
inline |
Definition at line 45 of file BaselineHashTable.h.
References join_key_size_in_byte_, HashTableEntryInfo::layout_, num_join_keys_, and OneToOne.
Referenced by computeHashTableSize(), and BaselineJoinHashTableBuilder::initHashTableOnGpu().
|
inline |
Definition at line 50 of file BaselineHashTable.h.
References HashTableEntryInfo::for_window_framing_, HashTableEntryInfo::layout_, HashJoin::layoutRequiresAdditionalBuffers(), HashTableEntryInfo::num_hash_entries_, and HashTableEntryInfo::num_keys_.
Referenced by computeHashTableSize().
|
inlineoverridevirtual |
Implements HashTableEntryInfo.
Definition at line 43 of file BaselineHashTable.h.
References HashTableEntryInfo::num_hash_entries_.
Referenced by computeHashTableSize().
|
inline |
Definition at line 63 of file BaselineHashTable.h.
References join_key_size_in_byte_.
Referenced by BaselineJoinHashTableBuilder::initHashTableOnGpu().
|
inline |
Definition at line 61 of file BaselineHashTable.h.
References num_join_keys_.
Referenced by BaselineJoinHashTableBuilder::initHashTableOnGpu().
|
private |
Definition at line 67 of file BaselineHashTable.h.
Referenced by computeKeySize(), and getJoinKeysSize().
|
private |
Definition at line 66 of file BaselineHashTable.h.
Referenced by computeKeySize(), and getNumJoinKeys().