OmniSciDB  a987f07e93
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.parser.hint.HeavyDBHintStrategyTable Class Reference
+ Collaboration diagram for com.mapd.parser.hint.HeavyDBHintStrategyTable:

Static Public Attributes

static final HintStrategyTable HINT_STRATEGY_TABLE = createHintStrategies()
 

Static Package Functions

static HintStrategyTable createHintStrategies (HintStrategyTable.Builder builder)
 

Static Private Member Functions

static HintStrategyTable createHintStrategies ()
 

Detailed Description

Definition at line 8 of file HeavyDBHintStrategyTable.java.

Member Function Documentation

static HintStrategyTable com.mapd.parser.hint.HeavyDBHintStrategyTable.createHintStrategies ( )
inlinestaticprivate

Definition at line 11 of file HeavyDBHintStrategyTable.java.

11  {
12  return createHintStrategies(HintStrategyTable.builder());
13  }
static HintStrategyTable com.mapd.parser.hint.HeavyDBHintStrategyTable.createHintStrategies ( HintStrategyTable.Builder  builder)
inlinestaticpackage

Definition at line 15 of file HeavyDBHintStrategyTable.java.

15  {
16  ArrayList<String> supportedHints = new ArrayList<String>();
17  supportedHints.add("cpu_mode");
18  supportedHints.add("columnar_output");
19  supportedHints.add("rowwise_output");
20  supportedHints.add("overlaps_bucket_threshold");
21  supportedHints.add("overlaps_max_size");
22  supportedHints.add("overlaps_allow_gpu_build");
23  supportedHints.add("overlaps_no_cache");
24  supportedHints.add("overlaps_keys_per_bin");
25  supportedHints.add("keep_result");
26  supportedHints.add("keep_table_function_result");
27  supportedHints.add("aggregate_tree_fanout");
28  supportedHints.add("cuda_block_size");
29  supportedHints.add("cuda_grid_size_multiplier");
30  supportedHints.add("cuda_opt_block_and_grid_sizes");
31  supportedHints.add("watchdog");
32  supportedHints.add("dynamic_watchdog");
33  supportedHints.add("watchdog_off");
34  supportedHints.add("dynamic_watchdog_off");
35  supportedHints.add("query_time_limit");
36  supportedHints.add("allow_loop_join");
37  supportedHints.add("disable_loop_join");
38  supportedHints.add("loop_join_inner_table_max_num_rows");
39  supportedHints.add("max_join_hashtable_size");
40 
41  for (String hint_name : supportedHints) {
42  // add local / global hints, e.., cpu_mode / g_cpu_mode
43  builder = builder.hintStrategy(hint_name, HintPredicates.SET_VAR);
44  String globalHintName = "g_".concat(hint_name);
45  builder = builder.hintStrategy(globalHintName, HintPredicates.SET_VAR);
46  }
47  return builder.build();
48  }

Member Data Documentation

final HintStrategyTable com.mapd.parser.hint.HeavyDBHintStrategyTable.HINT_STRATEGY_TABLE = createHintStrategies()
static

The documentation for this class was generated from the following file: