Enum TraverserRequirement
- java.lang.Object
- 
- java.lang.Enum<TraverserRequirement>
- 
- org.apache.tinkerpop.gremlin.process.traversal.traverser.TraverserRequirement
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<TraverserRequirement>
 
 public enum TraverserRequirement extends Enum<TraverserRequirement> ATraverserRequirementis a list of requirements that aTraversalrequires of aTraverser. The less requirements, the simpler the traverser can be (both in terms of space and time constraints). EveryStepprovides its specific requirements viaStep.getRequirements().- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BULKLABELED_PATHNESTED_LOOPOBJECTONE_BULKPATHSACKSIDE_EFFECTSSINGLE_LOOP
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static TraverserRequirementvalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
BULKpublic static final TraverserRequirement BULK 
 - 
LABELED_PATHpublic static final TraverserRequirement LABELED_PATH 
 - 
NESTED_LOOPpublic static final TraverserRequirement NESTED_LOOP 
 - 
OBJECTpublic static final TraverserRequirement OBJECT 
 - 
ONE_BULKpublic static final TraverserRequirement ONE_BULK 
 - 
PATHpublic static final TraverserRequirement PATH 
 - 
SACKpublic static final TraverserRequirement SACK 
 - 
SIDE_EFFECTSpublic static final TraverserRequirement SIDE_EFFECTS 
 - 
SINGLE_LOOPpublic static final TraverserRequirement SINGLE_LOOP 
 
- 
 - 
Method Detail- 
valuespublic static TraverserRequirement[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TraverserRequirement c : TraverserRequirement.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static TraverserRequirement valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-