OmniSciDB
a5dc49c757
|
#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 | watchdog_max_projected_rows_per_device |
size_t | preflight_count_query_threshold |
bool | table_reordering_off |
double | ndv_groups_estimator_multiplier |
size_t | cuda_block_size |
double | cuda_grid_size_multiplier |
bool | opt_cuda_grid_and_block_size |
size_t | aggregate_tree_fanout |
double | bbox_intersect_bucket_threshold |
size_t | bbox_intersect_max_size |
bool | bbox_intersect_allow_gpu_build |
bool | bbox_intersect_no_cache |
double | bbox_intersect_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 |
bool | force_baseline_hash_join |
bool | force_one_to_many_hash_join |
std::vector< bool > | registered_hint |
Definition at line 190 of file QueryHint.h.
|
inline |
Definition at line 198 of file QueryHint.h.
Referenced by defaults().
|
inlinestatic |
Definition at line 379 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 388 of file QueryHint.h.
References anonymous_namespace{QueryMemoryDescriptor.cpp}::any_of(), and registered_hint.
Referenced by RelAlgDag::getQueryHint().
|
inline |
Definition at line 398 of file QueryHint.h.
References registered_hint.
Referenced by BaselineJoinHashTableBuilder::allocateDeviceMemory(), anonymous_namespace{IRCodegen.cpp}::check_if_loop_join_is_allowed(), anonymous_namespace{Execute.cpp}::checkWorkUnitWatchdog(), anonymous_namespace{RelAlgExecutor.cpp}::compute_output_buffer_size(), BoundingBoxIntersectJoinHashTable::getEffectiveMemoryLevel(), anonymous_namespace{RelAlgExecutor.cpp}::handle_query_hint(), PerfectJoinHashTable::initHashTableForDevice(), BaselineJoinHashTableBuilder::initHashTableOnCpu(), and BoundingBoxIntersectJoinHashTable::reifyWithLayout().
|
inline |
Definition at line 227 of file QueryHint.h.
References aggregate_tree_fanout, bbox_intersect_bucket_threshold, bbox_intersect_keys_per_bin, bbox_intersect_max_size, CHECK_EQ, cuda_block_size, cuda_grid_size_multiplier, dynamic_watchdog, force_baseline_hash_join, force_one_to_many_hash_join, kAggregateTreeFanout, kAllowLoopJoin, kBBoxIntersectAllowGpuBuild, kBBoxIntersectBucketThreshold, kBBoxIntersectKeysPerBin, kBBoxIntersectMaxSize, kBBoxIntersectNoCache, kColumnarOutput, kCpuMode, kCudaBlockSize, kCudaGridSize, kDisableLoopJoin, kDynamicWatchdog, kDynamicWatchdogOff, keep_result, keep_table_function_result, kforceBaselineHashJoin, kforceOneToManyHashJoin, kHintCount, kKeepResult, kKeepTableFuncResult, kLoopJoinInnerTableMaxNumRows, kMaxJoinHashTableSize, kNDVGroupsEstimatorMultiplier, kOptCudaBlockAndGridSizes, kPreflightCountQueryThreshold, kQueryTimeLimit, kRowwiseOutput, kTableReorderingOff, kWatchdog, kWatchdogMaxProjectedRowsPerDevice, kWatchdogOff, loop_join_inner_table_max_num_rows, max_join_hash_table_size, ndv_groups_estimator_multiplier, preflight_count_query_threshold, query_time_limit, registered_hint, table_reordering_off, UNREACHABLE, use_loop_join, watchdog, and watchdog_max_projected_rows_per_device.
|
inline |
Definition at line 393 of file QueryHint.h.
References registered_hint.
Referenced by RelAlgDag::registerQueryHints().
|
inlinestatic |
Definition at line 382 of file QueryHint.h.
References kInvalidHint, and SupportedQueryHints.
Referenced by details::RelAlgDispatcher::parseHintString().
size_t RegisteredQueryHint::aggregate_tree_fanout |
Definition at line 360 of file QueryHint.h.
Referenced by RelAlgExecutor::createWindowFunctionContext(), operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::bbox_intersect_allow_gpu_build |
Definition at line 366 of file QueryHint.h.
Referenced by BoundingBoxIntersectJoinHashTable::getEffectiveMemoryLevel(), RelAlgDag::registerQueryHints(), BoundingBoxIntersectJoinHashTable::reifyWithLayout(), and boost::serialization::serialize().
double RegisteredQueryHint::bbox_intersect_bucket_threshold |
Definition at line 363 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), BoundingBoxIntersectJoinHashTable::reifyWithLayout(), and boost::serialization::serialize().
double RegisteredQueryHint::bbox_intersect_keys_per_bin |
Definition at line 368 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), BoundingBoxIntersectJoinHashTable::reifyWithLayout(), and boost::serialization::serialize().
size_t RegisteredQueryHint::bbox_intersect_max_size |
Definition at line 365 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), BoundingBoxIntersectJoinHashTable::reifyWithLayout(), and boost::serialization::serialize().
bool RegisteredQueryHint::bbox_intersect_no_cache |
Definition at line 367 of file QueryHint.h.
Referenced by RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::columnar_output |
Definition at line 342 of file QueryHint.h.
Referenced by RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::cpu_mode |
Definition at line 341 of file QueryHint.h.
Referenced by RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
size_t RegisteredQueryHint::cuda_block_size |
Definition at line 355 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
double RegisteredQueryHint::cuda_grid_size_multiplier |
Definition at line 356 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
std::optional<bool> RegisteredQueryHint::dynamic_watchdog |
Definition at line 347 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::force_baseline_hash_join |
Definition at line 374 of file QueryHint.h.
Referenced by BoundingBoxIntersectJoinHashTable::getInstance(), HashJoin::getInstance(), operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::force_one_to_many_hash_join |
Definition at line 375 of file QueryHint.h.
Referenced by BaselineJoinHashTable::getInstance(), PerfectJoinHashTable::getInstance(), BoundingBoxIntersectJoinHashTable::getInstance(), operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::keep_result |
Definition at line 344 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::keep_table_function_result |
Definition at line 345 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 372 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 |
Definition at line 373 of file QueryHint.h.
Referenced by BaselineJoinHashTableBuilder::allocateDeviceMemory(), anonymous_namespace{RelAlgExecutor.cpp}::handle_query_hint(), PerfectJoinHashTable::initHashTableForDevice(), BaselineJoinHashTableBuilder::initHashTableOnCpu(), operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
double RegisteredQueryHint::ndv_groups_estimator_multiplier |
Definition at line 352 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::opt_cuda_grid_and_block_size |
Definition at line 357 of file QueryHint.h.
Referenced by RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
size_t RegisteredQueryHint::preflight_count_query_threshold |
Definition at line 350 of file QueryHint.h.
Referenced by anonymous_namespace{RelAlgExecutor.cpp}::compute_output_buffer_size(), operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
size_t RegisteredQueryHint::query_time_limit |
Definition at line 348 of file QueryHint.h.
Referenced by anonymous_namespace{RelAlgExecutor.cpp}::handle_query_hint(), operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
std::vector<bool> RegisteredQueryHint::registered_hint |
Definition at line 377 of file QueryHint.h.
Referenced by isAnyQueryHintDelivered(), isHintRegistered(), operator||(), registerHint(), and boost::serialization::serialize().
bool RegisteredQueryHint::rowwise_output |
Definition at line 343 of file QueryHint.h.
Referenced by RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
bool RegisteredQueryHint::table_reordering_off |
Definition at line 351 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
std::optional<bool> RegisteredQueryHint::use_loop_join |
Definition at line 371 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
std::optional<bool> RegisteredQueryHint::watchdog |
Definition at line 346 of file QueryHint.h.
Referenced by operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().
size_t RegisteredQueryHint::watchdog_max_projected_rows_per_device |
Definition at line 349 of file QueryHint.h.
Referenced by anonymous_namespace{Execute.cpp}::checkWorkUnitWatchdog(), operator||(), RelAlgDag::registerQueryHints(), and boost::serialization::serialize().