OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OmniSciHintStrategyTable.java
Go to the documentation of this file.
1 package com.mapd.parser.hint;
2 
3 import org.apache.calcite.rel.hint.HintPredicates;
4 import org.apache.calcite.rel.hint.HintStrategyTable;
5 
7  public static final HintStrategyTable HINT_STRATEGY_TABLE = createHintStrategies();
8 
9  private static HintStrategyTable createHintStrategies() {
10  return createHintStrategies(HintStrategyTable.builder());
11  }
12 
13  static HintStrategyTable createHintStrategies(HintStrategyTable.Builder builder) {
14  return builder.hintStrategy("cpu_mode", HintPredicates.SET_VAR)
15  .hintStrategy("columnar_output", HintPredicates.SET_VAR)
16  .hintStrategy("rowwise_output", HintPredicates.SET_VAR)
17  .hintStrategy("overlaps_bucket_threshold", HintPredicates.SET_VAR)
18  .hintStrategy("overlaps_max_size", HintPredicates.SET_VAR)
19  .hintStrategy("overlaps_allow_gpu_build", HintPredicates.SET_VAR)
20  .hintStrategy("overlaps_no_cache", HintPredicates.SET_VAR)
21  .hintStrategy("overlaps_keys_per_bin", HintPredicates.SET_VAR)
22  .build();
23  }
24 }
static HintStrategyTable createHintStrategies(HintStrategyTable.Builder builder)