Package org.apache.calcite.rel.hint
Class HintPredicates
java.lang.Object
org.apache.calcite.rel.hint.HintPredicates
A collection of hint predicates.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HintPredicate
A hint predicate that indicates a hint can only be used toAggregate
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used toCalc
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used toCorrelate
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used toFilter
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used toJoin
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used toProject
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used to the whole query(no specific nodes).static final HintPredicate
A hint predicate that indicates a hint can only be used toSetOp
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used toSnapshot
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used toSort
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used toTableFunctionScan
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used toTableScan
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used toValues
nodes.static final HintPredicate
A hint predicate that indicates a hint can only be used toWindow
nodes. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HintPredicate
and
(HintPredicate... hintPredicates) Returns a composed hint predicate that represents a short-circuiting logical AND of an array of hint predicateshintPredicates
.static HintPredicate
or
(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 toJoin
nodes. -
TABLE_SCAN
A hint predicate that indicates a hint can only be used toTableScan
nodes. -
PROJECT
A hint predicate that indicates a hint can only be used toProject
nodes. -
AGGREGATE
A hint predicate that indicates a hint can only be used toAggregate
nodes. -
CALC
A hint predicate that indicates a hint can only be used toCalc
nodes. -
CORRELATE
A hint predicate that indicates a hint can only be used toCorrelate
nodes. -
FILTER
A hint predicate that indicates a hint can only be used toFilter
nodes. -
SETOP
A hint predicate that indicates a hint can only be used toSetOp
nodes. -
SORT
A hint predicate that indicates a hint can only be used toSort
nodes. -
VALUES
A hint predicate that indicates a hint can only be used toValues
nodes. -
WINDOW
A hint predicate that indicates a hint can only be used toWindow
nodes. -
SNAPSHOT
A hint predicate that indicates a hint can only be used toSnapshot
nodes. -
TABLE_FUNCTION_SCAN
A hint predicate that indicates a hint can only be used toTableFunctionScan
nodes.
-
-
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.
-