OmniSciDB  8a228a1076
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).build();
15  }
16 }
static HintStrategyTable createHintStrategies(HintStrategyTable.Builder builder)