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
ConstructorDescriptionNodeTypeHintPredicate
(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: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
-