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 |
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 |
TABLE_SCAN
A hint predicate that indicates a hint can only be used to
TableScan 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 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-2020 Apache Software Foundation. All Rights Reserved.