@Internal public static enum PlanAdvice.Scope extends Enum<PlanAdvice.Scope>
PlanAdvice.| Enum Constant and Description |
|---|
NODE_LEVEL
Indicate the advice is specific to a
RelNode. |
QUERY_LEVEL
Indicate the advice is not specific to a
RelNode. |
| Modifier and Type | Method and Description |
|---|---|
static PlanAdvice.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlanAdvice.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlanAdvice.Scope QUERY_LEVEL
RelNode.public static final PlanAdvice.Scope NODE_LEVEL
RelNode.public static PlanAdvice.Scope[] values()
for (PlanAdvice.Scope c : PlanAdvice.Scope.values()) System.out.println(c);
public static PlanAdvice.Scope valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.