OmniSciDB
a5dc49c757
|
#include "Analyzer/Analyzer.h"
#include "DataMgr/Allocators/ThrustAllocator.h"
#include "DataMgr/Chunk/Chunk.h"
#include "QueryEngine/ColumnarResults.h"
#include "QueryEngine/DataRecycler/HashingSchemeRecycler.h"
#include "QueryEngine/DataRecycler/HashtableRecycler.h"
#include "QueryEngine/Descriptors/InputDescriptors.h"
#include "QueryEngine/Descriptors/RowSetMemoryOwner.h"
#include "QueryEngine/ExpressionRange.h"
#include "QueryEngine/InputMetadata.h"
#include "QueryEngine/JoinHashTable/HashJoin.h"
#include "QueryEngine/JoinHashTable/PerfectHashTable.h"
#include <llvm/IR/Value.h>
#include <functional>
#include <memory>
#include <mutex>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | PerfectJoinHashTable |
struct | PerfectJoinHashTable::AlternativeCacheKeyForPerfectHashJoin |
Functions | |
bool | needs_dictionary_translation (const InnerOuter &inner_outer_col_pair, const InnerOuterStringOpInfos &inner_outer_string_op_infos, const Executor *executor) |
Data_Namespace::MemoryLevel | get_effective_memory_level (const Data_Namespace::MemoryLevel memory_level, const bool needs_dict_translation) |
std::vector < Fragmenter_Namespace::FragmentInfo > | only_shards_for_device (const std::vector< Fragmenter_Namespace::FragmentInfo > &fragments, const int device_id, const int device_count) |
const InputTableInfo & | get_inner_query_info (const shared::TableKey &inner_table_key, const std::vector< InputTableInfo > &query_infos) |
size_t | get_entries_per_device (const size_t total_entries, const size_t shard_count, const size_t device_count, const Data_Namespace::MemoryLevel memory_level) |
|
inline |
Definition at line 314 of file PerfectJoinHashTable.h.
References Data_Namespace::CPU_LEVEL.
Referenced by PerfectJoinHashTable::fetchColumnsForDevice(), BaselineJoinHashTable::fetchColumnsForDevice(), PerfectJoinHashTable::reifyForDevice(), and BaselineJoinHashTable::reifyForDevice().
size_t get_entries_per_device | ( | const size_t | total_entries, |
const size_t | shard_count, | ||
const size_t | device_count, | ||
const Data_Namespace::MemoryLevel | memory_level | ||
) |
Definition at line 1295 of file PerfectJoinHashTable.cpp.
References CHECK_GT, and Data_Namespace::GPU_LEVEL.
Referenced by BoundingBoxIntersectJoinHashTable::computeHashTableCounts(), RangeJoinHashTable::computeRangeHashTableCounts(), and BaselineJoinHashTable::reifyWithLayout().
const InputTableInfo& get_inner_query_info | ( | const shared::TableKey & | inner_table_key, |
const std::vector< InputTableInfo > & | query_infos | ||
) |
Definition at line 153 of file PerfectJoinHashTable.cpp.
References CHECK.
Referenced by PerfectJoinHashTable::getInnerQueryInfo(), RangeJoinHashTable::getInstance(), PerfectJoinHashTable::getInstance(), BoundingBoxIntersectJoinHashTable::getInstance(), RangeJoinHashTable::reifyWithLayout(), BoundingBoxIntersectJoinHashTable::reifyWithLayout(), and BaselineJoinHashTable::reifyWithLayout().
bool needs_dictionary_translation | ( | const InnerOuter & | inner_outer_col_pair, |
const InnerOuterStringOpInfos & | inner_outer_string_op_infos, | ||
const Executor * | executor | ||
) |
Definition at line 315 of file PerfectJoinHashTable.cpp.
References CHECK, CHECK_EQ, get_column_descriptor_maybe(), and get_column_type().
std::vector<Fragmenter_Namespace::FragmentInfo> only_shards_for_device | ( | const std::vector< Fragmenter_Namespace::FragmentInfo > & | fragments, |
const int | device_id, | ||
const int | device_count | ||
) |
Definition at line 362 of file PerfectJoinHashTable.cpp.
References CHECK_GE.
Referenced by PerfectJoinHashTable::reify(), BoundingBoxIntersectJoinHashTable::reifyImpl(), RangeJoinHashTable::reifyWithLayout(), BoundingBoxIntersectJoinHashTable::reifyWithLayout(), and BaselineJoinHashTable::reifyWithLayout().