OmniSciDB
a5dc49c757
|
#include <PerfectHashTableBuilder.h>
Public Member Functions | |
PerfectJoinHashTableBuilder () | |
void | allocateDeviceMemory (BucketizedHashEntryInfo hash_entry_info, PerfectHashTableEntryInfo hash_table_entry_info, const size_t shard_count, const int device_id, const int device_count, const Executor *executor) |
void | initOneToOneHashTableOnCpu (const JoinColumn &join_column, const ExpressionRange &col_range, const bool is_bitwise_eq, const InnerOuter &cols, const StringDictionaryProxy::IdMap *str_proxy_translation_map, const JoinType join_type, const BucketizedHashEntryInfo hash_entry_info, const PerfectHashTableEntryInfo hash_table_entry_info, const int32_t hash_join_invalid_val, const Executor *executor) |
void | initOneToManyHashTableOnCpu (const JoinColumn &join_column, const ExpressionRange &col_range, const bool is_bitwise_eq, const std::pair< const Analyzer::ColumnVar *, const Analyzer::Expr * > &cols, const StringDictionaryProxy::IdMap *str_proxy_translation_map, const JoinType join_type, const BucketizedHashEntryInfo hash_entry_info, const PerfectHashTableEntryInfo hash_table_entry_info, const int32_t hash_join_invalid_val, const Executor *executor) |
std::unique_ptr< PerfectHashTable > | getHashTable () |
const bool | for_semi_anti_join (const JoinType join_type) |
Static Public Member Functions | |
static size_t | get_entries_per_shard (const size_t total_entry_count, const size_t shard_count) |
Private Attributes | |
std::unique_ptr< PerfectHashTable > | hash_table_ |
Definition at line 25 of file PerfectHashTableBuilder.h.
|
inline |
Definition at line 27 of file PerfectHashTableBuilder.h.
|
inline |
Definition at line 29 of file PerfectHashTableBuilder.h.
References BucketizedHashEntryInfo::bucketized_hash_entry_count, CHECK, CHECK_GT, get_entries_per_shard(), BucketizedHashEntryInfo::getNormalizedHashEntryCount(), GPU, hash_table_, HashTableEntryInfo::setNumHashEntries(), UNREACHABLE, and VLOG.
Referenced by PerfectJoinHashTable::copyCpuHashTableToGpu(), and PerfectJoinHashTable::initHashTableForDevice().
|
inline |
Definition at line 373 of file PerfectHashTableBuilder.h.
Referenced by initOneToOneHashTableOnCpu().
|
inlinestatic |
Definition at line 367 of file PerfectHashTableBuilder.h.
References CHECK_NE.
Referenced by allocateDeviceMemory().
|
inline |
Definition at line 363 of file PerfectHashTableBuilder.h.
References hash_table_.
Referenced by PerfectJoinHashTable::copyCpuHashTableToGpu(), and PerfectJoinHashTable::initHashTableForDevice().
|
inline |
Definition at line 284 of file PerfectHashTableBuilder.h.
References run_benchmark_import::args, threading_serial::async(), CHECK, CPU, cpu_threads(), StringDictionaryProxy::TranslationMap< T >::data(), DEBUG_TIMER, StringDictionaryProxy::TranslationMap< T >::domainStart(), fill_one_to_many_hash_table(), fill_one_to_many_hash_table_bucketized(), get_join_column_type_kind(), ExpressionRange::getIntMax(), ExpressionRange::getIntMin(), BucketizedHashEntryInfo::getNormalizedHashEntryCount(), HashTableEntryInfo::getNumKeys(), hash_table_, init_hash_join_buff(), inline_fixed_encoding_null_val(), kDATE, VLOG, and WINDOW_FUNCTION_FRAMING.
Referenced by PerfectJoinHashTable::initHashTableForDevice().
|
inline |
Definition at line 186 of file PerfectHashTableBuilder.h.
References run_benchmark_import::args, threading_serial::async(), BucketizedHashEntryInfo::bucket_normalization, CHECK, CPU, cpu_threads(), StringDictionaryProxy::TranslationMap< T >::data(), DEBUG_TIMER, StringDictionaryProxy::TranslationMap< T >::domainStart(), fill_hash_join_buff(), fill_hash_join_buff_bitwise_eq(), fill_hash_join_buff_bucketized(), for_semi_anti_join(), get_join_column_type_kind(), ExpressionRange::getIntMax(), ExpressionRange::getIntMin(), BucketizedHashEntryInfo::getNormalizedHashEntryCount(), HashTableEntryInfo::getNumKeys(), hash_table_, init_hash_join_buff(), inline_fixed_encoding_null_val(), kDATE, and VLOG.
Referenced by PerfectJoinHashTable::initHashTableForDevice().
|
private |
Definition at line 378 of file PerfectHashTableBuilder.h.
Referenced by allocateDeviceMemory(), getHashTable(), initOneToManyHashTableOnCpu(), and initOneToOneHashTableOnCpu().