public abstract class HintPredicates extends Object
| Modifier and Type | Field and Description |
|---|---|
static HintPredicate |
AGGREGATE
A hint predicate that indicates a hint can only be used to
Aggregate nodes. |
static HintPredicate |
CALC
A hint predicate that indicates a hint can only be used to
Calc nodes. |
static HintPredicate |
CORRELATE
A hint predicate that indicates a hint can only be used to
Correlate nodes. |
static HintPredicate |
FILTER
A hint predicate that indicates a hint can only be used to
Filter nodes. |
static HintPredicate |
JOIN
A hint predicate that indicates a hint can only be used to
Join nodes. |
static HintPredicate |
PROJECT
A hint predicate that indicates a hint can only be used to
Project nodes. |
static HintPredicate |
SET_VAR
A hint predicate that indicates a hint can only be used to
the whole query(no specific nodes).
|
static HintPredicate |
SETOP
A hint predicate that indicates a hint can only be used to
SetOp nodes. |
static HintPredicate |
SNAPSHOT
A hint predicate that indicates a hint can only be used to
Snapshot nodes. |
static HintPredicate |
SORT
A hint predicate that indicates a hint can only be used to
Sort nodes. |
static HintPredicate |
TABLE_SCAN
A hint predicate that indicates a hint can only be used to
TableScan nodes. |
static HintPredicate |
VALUES
A hint predicate that indicates a hint can only be used to
Values nodes. |
static HintPredicate |
WINDOW
A hint predicate that indicates a hint can only be used to
Window nodes. |
| Constructor and Description |
|---|
HintPredicates() |
| Modifier and Type | Method and Description |
|---|---|
static HintPredicate |
and(HintPredicate... hintPredicates)
Returns a composed hint predicate that represents a short-circuiting logical
AND of an array of hint predicates
hintPredicates. |
static HintPredicate |
or(HintPredicate... hintPredicates)
Returns a composed hint predicate that represents a short-circuiting logical
OR of an array of hint predicates
hintPredicates. |
public static final HintPredicate SET_VAR
public static final HintPredicate JOIN
Join nodes.public static final HintPredicate TABLE_SCAN
TableScan nodes.public static final HintPredicate PROJECT
Project nodes.public static final HintPredicate AGGREGATE
Aggregate nodes.public static final HintPredicate CALC
Calc nodes.public static final HintPredicate CORRELATE
Correlate nodes.public static final HintPredicate FILTER
Filter nodes.public static final HintPredicate SETOP
SetOp nodes.public static final HintPredicate SORT
Sort nodes.public static final HintPredicate VALUES
Values nodes.public static final HintPredicate WINDOW
Window nodes.public static final HintPredicate SNAPSHOT
Snapshot nodes.public static HintPredicate and(HintPredicate... hintPredicates)
hintPredicates. When evaluating the composed
predicate, if a predicate is false, then all the left
predicates are not evaluated.
The predicates are evaluated in sequence.
public static HintPredicate or(HintPredicate... hintPredicates)
hintPredicates. When evaluating the composed
predicate, if a predicate is true, then all the left
predicates are not evaluated.
The predicates are evaluated in sequence.
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.