OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QueryHint.h File Reference
#include <algorithm>
#include <optional>
#include <boost/algorithm/string.hpp>
#include "ThriftHandler/CommandLineOptions.h"
+ Include dependency graph for QueryHint.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HintIdentifier
 
class  ExplainedQueryHint
 
struct  RegisteredQueryHint
 

Typedefs

using Hints = std::unordered_map< QueryHint, ExplainedQueryHint >
 

Enumerations

enum  QueryHint {
  kCpuMode = 0, kColumnarOutput, kRowwiseOutput, kBBoxIntersectBucketThreshold,
  kBBoxIntersectMaxSize, kBBoxIntersectAllowGpuBuild, kBBoxIntersectNoCache, kBBoxIntersectKeysPerBin,
  kKeepResult, kKeepTableFuncResult, kAggregateTreeFanout, kCudaBlockSize,
  kCudaGridSize, kOptCudaBlockAndGridSizes, kWatchdog, kDynamicWatchdog,
  kWatchdogOff, kDynamicWatchdogOff, kQueryTimeLimit, kAllowLoopJoin,
  kDisableLoopJoin, kLoopJoinInnerTableMaxNumRows, kMaxJoinHashTableSize, kforceBaselineHashJoin,
  kforceOneToManyHashJoin, kWatchdogMaxProjectedRowsPerDevice, kPreflightCountQueryThreshold, kTableReorderingOff,
  kNDVGroupsEstimatorMultiplier, kHintCount, kInvalidHint
}
 

Variables

static const
std::unordered_map
< std::string, QueryHint
SupportedQueryHints
 

Typedef Documentation

using Hints = std::unordered_map<QueryHint, ExplainedQueryHint>

Definition at line 405 of file QueryHint.h.

Enumeration Type Documentation

enum QueryHint
Enumerator
kCpuMode 
kColumnarOutput 
kRowwiseOutput 
kBBoxIntersectBucketThreshold 
kBBoxIntersectMaxSize 
kBBoxIntersectAllowGpuBuild 
kBBoxIntersectNoCache 
kBBoxIntersectKeysPerBin 
kKeepResult 
kKeepTableFuncResult 
kAggregateTreeFanout 
kCudaBlockSize 
kCudaGridSize 
kOptCudaBlockAndGridSizes 
kWatchdog 
kDynamicWatchdog 
kWatchdogOff 
kDynamicWatchdogOff 
kQueryTimeLimit 
kAllowLoopJoin 
kDisableLoopJoin 
kLoopJoinInnerTableMaxNumRows 
kMaxJoinHashTableSize 
kforceBaselineHashJoin 
kforceOneToManyHashJoin 
kWatchdogMaxProjectedRowsPerDevice 
kPreflightCountQueryThreshold 
kTableReorderingOff 
kNDVGroupsEstimatorMultiplier 
kHintCount 
kInvalidHint 

Definition at line 29 of file QueryHint.h.

29  {
30  kCpuMode = 0,
44  kWatchdog,
59  kHintCount, // should be at the last elem before INVALID enum value to count #
60  // supported hints correctly
61  kInvalidHint // this should be the last elem of this enum
62 };

Variable Documentation

const std::unordered_map<std::string, QueryHint> SupportedQueryHints
static

Definition at line 64 of file QueryHint.h.

Referenced by RegisteredQueryHint::translateQueryHint().