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
Nested ClassesModifier and TypeClassDescriptionstatic enumHow hint predicates are composed. -
Method Summary
-
Method Details
-
apply
Description copied from interface:HintPredicateDecides if the givenhintcan be applied to the relational expressionrel.- Specified by:
applyin interfaceHintPredicate- Parameters:
hint- The hintrel- The relational expression- Returns:
- True if the
hintcan be applied to therel
-