OmniSciDB
c1a53651b2
|
#include <QueryHint.h>
Public Member Functions | |
RegisteredQueryHint () | |
RegisteredQueryHint | operator|| (const RegisteredQueryHint &global_hints) const |
bool | isAnyQueryHintDelivered () const |
void | registerHint (const QueryHint hint) |
bool | isHintRegistered (const QueryHint hint) const |
Static Public Member Functions | |
static RegisteredQueryHint | defaults () |
static QueryHint | translateQueryHint (const std::string &hint_name) |
Public Attributes | |
bool | cpu_mode |
bool | columnar_output |
bool | rowwise_output |
bool | keep_result |
bool | keep_table_function_result |
std::optional< bool > | watchdog |
std::optional< bool > | dynamic_watchdog |
size_t | query_time_limit |
size_t | cuda_block_size |
double | cuda_grid_size_multiplier |
bool | opt_cuda_grid_and_block_size |
size_t | aggregate_tree_fanout |
double | overlaps_bucket_threshold |
size_t | overlaps_max_size |
bool | overlaps_allow_gpu_build |
bool | overlaps_no_cache |
double | overlaps_keys_per_bin |
std::optional< bool > | use_loop_join |
size_t | loop_join_inner_table_max_num_rows |
size_t | max_join_hash_table_size |
std::vector< bool > | registered_hint |
Definition at line 177 of file QueryHint.h.
|
inline |
Definition at line 185 of file QueryHint.h.
Referenced by defaults().
|
inlinestatic |
Definition at line 329 of file QueryHint.h.
References RegisteredQueryHint().
Referenced by anonymous_namespace{RelAlgDag.cpp}::create_compound(), RelAlgExecutor::createAggregateWorkUnit(), RelAlgExecutor::createCompoundWorkUnit(), RelAlgExecutor::createFilterWorkUnit(), RelAlgExecutor::createProjectWorkUnit(), RelAlgExecutor::createUnionWorkUnit(), RelAlgExecutor::executeWorkUnit(), QueryRunner::QueryRunner::getParsedQueryHint(), and HashJoin::getSyntheticInstance().
|
inline |
Definition at line 338 of file QueryHint.h.
References anonymous_namespace{QueryMemoryDescriptor.cpp}::any_of(), and registered_hint.
Referenced by RelAlgDag::getQueryHint().
|
inline |
Definition at line 348 of file QueryHint.h.
References registered_hint.
Referenced by BaselineJoinHashTableBuilder::allocateDeviceMemory(), anonymous_namespace{IRCodegen.cpp}::check_if_loop_join_is_allowed(), OverlapsJoinHashTable::getEffectiveMemoryLevel(), PerfectJoinHashTable::initHashTableForDevice(), BaselineJoinHashTableBuilder::initHashTableOnCpu(), and OverlapsJoinHashTable::reifyWithLayout().
|
inline |
Definition at line 208 of file QueryHint.h.
References aggregate_tree_fanout, CHECK_EQ, cuda_block_size, cuda_grid_size_multiplier, dynamic_watchdog, kAggregateTreeFanout, kAllowLoopJoin, kColumnarOutput, kCpuMode, kCudaBlockSize, kCudaGridSize, kDisableLoopJoin, kDynamicWatchdog, kDynamicWatchdogOff, keep_result, keep_table_function_result, kHintCount, kKeepResult, kKeepTableFuncResult, kLoopJoinInnerTableMaxNumRows, kMaxJoinHashTableSize, kOptCudaBlockAndGridSizes, kOverlapsAllowGpuBuild, kOverlapsBucketThreshold, kOverlapsKeysPerBin, kOverlapsMaxSize, kOverlapsNoCache, kQueryTimeLimit, kRowwiseOutput, kWatchdog, kWatchdogOff, loop_join_inner_table_max_num_rows, max_join_hash_table_size, overlaps_bucket_threshold, overlaps_keys_per_bin, overlaps_max_size, query_time_limit, registered_hint, UNREACHABLE, use_loop_join, and watchdog.
|
inline |
Definition at line 343 of file QueryHint.h.
References registered_hint.
Referenced by RelAlgDag::registerQueryHints().
|
inlinestatic |
Definition at line 332 of file QueryHint.h.
References kInvalidHint, and SupportedQueryHints.
Referenced by details::RelAlgDispatcher::parseHintString().
size_t RegisteredQueryHint::aggregate_tree_fanout |
Definition at line 313 of file QueryHint.h.
Referenced by RelAlgExecutor::createWindowFunctionContext(), operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::columnar_output |
Definition at line 299 of file QueryHint.h.
Referenced by RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::cpu_mode |
Definition at line 298 of file QueryHint.h.
Referenced by RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
size_t RegisteredQueryHint::cuda_block_size |
Definition at line 308 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
double RegisteredQueryHint::cuda_grid_size_multiplier |
Definition at line 309 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
std::optional<bool> RegisteredQueryHint::dynamic_watchdog |
Definition at line 304 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::keep_result |
Definition at line 301 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::keep_table_function_result |
Definition at line 302 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
size_t RegisteredQueryHint::loop_join_inner_table_max_num_rows |
Definition at line 324 of file QueryHint.h.
Referenced by anonymous_namespace{IRCodegen.cpp}::check_if_loop_join_is_allowed(), operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
size_t RegisteredQueryHint::max_join_hash_table_size |
bool RegisteredQueryHint::opt_cuda_grid_and_block_size |
Definition at line 310 of file QueryHint.h.
Referenced by RelAlgDag::registerQueryHints().
bool RegisteredQueryHint::overlaps_allow_gpu_build |
Definition at line 318 of file QueryHint.h.
Referenced by OverlapsJoinHashTable::getEffectiveMemoryLevel(), RelAlgDag::registerQueryHints(), OverlapsJoinHashTable::reifyWithLayout(), and boost::serialization::serialize().
double RegisteredQueryHint::overlaps_bucket_threshold |
Definition at line 316 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), OverlapsJoinHashTable::reifyWithLayout(), and boost::serialization::serialize().
double RegisteredQueryHint::overlaps_keys_per_bin |
Definition at line 320 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), OverlapsJoinHashTable::reifyWithLayout(), and boost::serialization::serialize().
size_t RegisteredQueryHint::overlaps_max_size |
Definition at line 317 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), OverlapsJoinHashTable::reifyWithLayout(), and boost::serialization::serialize().
bool RegisteredQueryHint::overlaps_no_cache |
Definition at line 319 of file QueryHint.h.
Referenced by RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
size_t RegisteredQueryHint::query_time_limit |
Definition at line 305 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
std::vector<bool> RegisteredQueryHint::registered_hint |
Definition at line 327 of file QueryHint.h.
Referenced by isAnyQueryHintDelivered(), isHintRegistered(), operator||(), registerHint(), and boost::serialization::serialize().
bool RegisteredQueryHint::rowwise_output |
Definition at line 300 of file QueryHint.h.
Referenced by RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
std::optional<bool> RegisteredQueryHint::use_loop_join |
Definition at line 323 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
std::optional<bool> RegisteredQueryHint::watchdog |
Definition at line 303 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().