Package org.apache.calcite.rel.hint
Class CompositeHintPredicate
java.lang.Object
org.apache.calcite.rel.hint.CompositeHintPredicate
- All Implemented Interfaces:
HintPredicate
A
HintPredicate
to combine multiple hint predicates into one.
The composition can be AND
or OR
.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
How hint predicates are composed. -
Method Summary
-
Method Details
-
apply
Description copied from interface:HintPredicate
Decides if the givenhint
can be applied to the relational expressionrel
.- Specified by:
apply
in interfaceHintPredicate
- Parameters:
hint
- The hintrel
- The relational expression- Returns:
- True if the
hint
can be applied to therel
-