Class HashTable

class HashTable

Subclassed by BaselineHashTable, PerfectHashTable

Public Functions

virtual ~HashTable()
virtual size_t getHashTableBufferSize(const ExecutorDeviceType device_type) const = 0
virtual int8_t *getCpuBuffer() = 0
virtual int8_t *getGpuBuffer() const = 0
virtual HashType getLayout() const = 0
virtual size_t getEntryCount() const = 0
virtual size_t getEmittedKeysCount() const = 0

Public Static Functions

DecodedJoinHashBufferSet toSet(size_t key_component_count, size_t key_component_width, size_t entry_count, const int8_t *ptr1, const int8_t *ptr2, const int8_t *ptr3, const int8_t *ptr4, size_t buffer_size)

Decode hash table into a std::set for easy inspection and validation.

std::string toString(const std::string &type, const std::string &layout_type, size_t key_component_count, size_t key_component_width, size_t entry_count, const int8_t *ptr1, const int8_t *ptr2, const int8_t *ptr3, const int8_t *ptr4, size_t buffer_size, bool raw = false)

Decode hash table into a human-readable string.