Package org.apache.calcite.rel.hint
Class NodeTypeHintPredicate
java.lang.Object
org.apache.calcite.rel.hint.NodeTypeHintPredicate
- All Implemented Interfaces:
HintPredicate
A hint predicate that specifies which kind of relational
expression the hint can be applied to.
-
Constructor Summary
ConstructorsConstructorDescriptionNodeTypeHintPredicate(org.apache.calcite.rel.hint.NodeTypeHintPredicate.NodeType nodeType) -
Method Summary
-
Constructor Details
-
NodeTypeHintPredicate
public NodeTypeHintPredicate(org.apache.calcite.rel.hint.NodeTypeHintPredicate.NodeType nodeType)
-
-
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
-