Package org.apache.calcite.rel.hint
Class HintStrategyTable.Builder
java.lang.Object
org.apache.calcite.rel.hint.HintStrategyTable.Builder
- Enclosing class:
HintStrategyTable
Builder for
HintStrategyTable
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
errorHandler
(Litmus errorHandler) Sets an error handler to customize the hints error handling.hintStrategy
(String hintName, HintPredicate hintPredicate) hintStrategy
(String hintName, HintStrategy hintStrategy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hintStrategy
-
hintStrategy
-
errorHandler
Sets an error handler to customize the hints error handling.The default behavior is to log warnings.
- Parameters:
errorHandler
- The handler
-
build
-