Package org.apache.calcite.rel.hint
Class HintPredicates
java.lang.Object
org.apache.calcite.rel.hint.HintPredicates
A collection of hint predicates.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HintPredicateA hint predicate that indicates a hint can only be used toAggregatenodes.static final HintPredicateA hint predicate that indicates a hint can only be used toCalcnodes.static final HintPredicateA hint predicate that indicates a hint can only be used toCorrelatenodes.static final HintPredicateA hint predicate that indicates a hint can only be used toFilternodes.static final HintPredicateA hint predicate that indicates a hint can only be used toJoinnodes.static final HintPredicateA hint predicate that indicates a hint can only be used toProjectnodes.static final HintPredicateA hint predicate that indicates a hint can only be used to the whole query(no specific nodes).static final HintPredicateA hint predicate that indicates a hint can only be used toSetOpnodes.static final HintPredicateA hint predicate that indicates a hint can only be used toSnapshotnodes.static final HintPredicateA hint predicate that indicates a hint can only be used toSortnodes.static final HintPredicateA hint predicate that indicates a hint can only be used toTableFunctionScannodes.static final HintPredicateA hint predicate that indicates a hint can only be used toTableScannodes.static final HintPredicateA hint predicate that indicates a hint can only be used toValuesnodes.static final HintPredicateA hint predicate that indicates a hint can only be used toWindownodes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HintPredicateand(HintPredicate... hintPredicates) Returns a composed hint predicate that represents a short-circuiting logical AND of an array of hint predicateshintPredicates.static HintPredicateor(HintPredicate... hintPredicates) Returns a composed hint predicate that represents a short-circuiting logical OR of an array of hint predicateshintPredicates.
-
Field Details
-
SET_VAR
A hint predicate that indicates a hint can only be used to the whole query(no specific nodes). -
JOIN
A hint predicate that indicates a hint can only be used toJoinnodes. -
TABLE_SCAN
A hint predicate that indicates a hint can only be used toTableScannodes. -
PROJECT
A hint predicate that indicates a hint can only be used toProjectnodes. -
AGGREGATE
A hint predicate that indicates a hint can only be used toAggregatenodes. -
CALC
A hint predicate that indicates a hint can only be used toCalcnodes. -
CORRELATE
A hint predicate that indicates a hint can only be used toCorrelatenodes. -
FILTER
A hint predicate that indicates a hint can only be used toFilternodes. -
SETOP
A hint predicate that indicates a hint can only be used toSetOpnodes. -
SORT
A hint predicate that indicates a hint can only be used toSortnodes. -
VALUES
A hint predicate that indicates a hint can only be used toValuesnodes. -
WINDOW
A hint predicate that indicates a hint can only be used toWindownodes. -
SNAPSHOT
A hint predicate that indicates a hint can only be used toSnapshotnodes. -
TABLE_FUNCTION_SCAN
A hint predicate that indicates a hint can only be used toTableFunctionScannodes.
-
-
Constructor Details
-
HintPredicates
public HintPredicates()
-
-
Method Details
-
and
Returns a composed hint predicate that represents a short-circuiting logical AND of an array of hint predicateshintPredicates. When evaluating the composed predicate, if a predicate isfalse, then all the left predicates are not evaluated.The predicates are evaluated in sequence.
-
or
Returns a composed hint predicate that represents a short-circuiting logical OR of an array of hint predicateshintPredicates. When evaluating the composed predicate, if a predicate istrue, then all the left predicates are not evaluated.The predicates are evaluated in sequence.
-