public enum TraverserRequirement extends Enum<TraverserRequirement>
TraverserRequirement is a list of requirements that a Traversal requires of a Traverser.
The less requirements, the simpler the traverser can be (both in terms of space and time constraints).
Every Step provides its specific requirements via Step.getRequirements().
Moreover, every Traversal.Admin can be provided requirements via Traversal.Admin#addTraverserRequirement(TraverserRequirement).| Enum Constant and Description |
|---|
BULK |
LABELED_PATH |
NESTED_LOOP |
OBJECT |
ONE_BULK |
PATH |
SACK |
SIDE_EFFECTS |
SINGLE_LOOP |
| Modifier and Type | Method and Description |
|---|---|
static TraverserRequirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TraverserRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraverserRequirement BULK
public static final TraverserRequirement LABELED_PATH
public static final TraverserRequirement NESTED_LOOP
public static final TraverserRequirement OBJECT
public static final TraverserRequirement ONE_BULK
public static final TraverserRequirement PATH
public static final TraverserRequirement SACK
public static final TraverserRequirement SIDE_EFFECTS
public static final TraverserRequirement SINGLE_LOOP
public static TraverserRequirement[] values()
for (TraverserRequirement c : TraverserRequirement.values()) System.out.println(c);
public static TraverserRequirement 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 © 2013–2015 Apache Software Foundation. All rights reserved.