22 std::vector<int64_t>
key;
38 size_t rowid_size_in_bytes,
40 bool for_window_framing =
false)
90 size_t key_component_count,
91 size_t key_component_width,
101 const std::string&
type,
102 const std::string& layout_type,
103 size_t key_component_count,
104 size_t key_component_width,
virtual size_t computeHashTableSize() const =0
virtual int8_t * getCpuBuffer()=0
void setRowIdSizeInBytes(size_t rowid_size_in_bytes)
virtual size_t getRowIdSize() const =0
virtual size_t getEntryCount() const =0
virtual int8_t * getGpuBuffer() const =0
bool forWindowFraming() const
virtual size_t getHashTableBufferSize(const ExecutorDeviceType device_type) const =0
HashTableEntryInfo(size_t num_hash_entries, size_t num_keys, size_t rowid_size_in_bytes, HashType layout, bool for_window_framing=false)
HashType getHashTableLayout() const
virtual HashType getLayout() const =0
size_t getNumHashEntries() const
virtual size_t getEmittedKeysCount() const =0
size_t getNumKeys() const
std::set< DecodedJoinHashBufferEntry > DecodedJoinHashBufferSet
static 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.
void setHashTableLayout(HashType layout)
virtual size_t computeTotalNumSlots() const =0
bool operator==(const DecodedJoinHashBufferEntry &other) const
std::set< int32_t > payload
void setNumHashEntries(size_t num_hash_entries)
static 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.
void setNumKeys(size_t num_keys)
std::vector< int64_t > key
size_t getRowIdSizeInBytes() const
size_t rowid_size_in_bytes_
bool operator<(const DecodedJoinHashBufferEntry &other) const