public class CompositeHintPredicate extends Object implements HintPredicate
HintPredicate to combine multiple hint predicates into one.
The composition can be AND or OR.
| Modifier and Type | Class and Description |
|---|---|
static class |
CompositeHintPredicate.Composition
How hint predicates are composed.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(RelHint hint,
RelNode rel)
Decides if the given
hint can be applied to
the relational expression rel. |
public boolean apply(RelHint hint, RelNode rel)
HintPredicatehint can be applied to
the relational expression rel.apply in interface HintPredicatehint - The hintrel - The relational expressionhint can be applied to the relCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.