public static enum PlanNode.Traversal extends Enum<PlanNode.Traversal>
Enum Constant and Description |
---|
LEVEL_ORDER
Traverse all of the children before traversing the plan nodes under the children.
|
POST_ORDER
Traverse the plan nodes by visiting the children before visiting the parent.
|
PRE_ORDER
Traverse the plan nodes by visiting the parent before the children.
|
Modifier and Type | Method and Description |
---|---|
static PlanNode.Traversal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlanNode.Traversal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlanNode.Traversal LEVEL_ORDER
public static final PlanNode.Traversal PRE_ORDER
public static final PlanNode.Traversal POST_ORDER
public static PlanNode.Traversal[] values()
for (PlanNode.Traversal c : PlanNode.Traversal.values()) System.out.println(c);
public static PlanNode.Traversal 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 © 2008–2016 JBoss, a division of Red Hat. All rights reserved.