Enum Class GraphComputer.Persist
java.lang.Object
java.lang.Enum<GraphComputer.Persist>
org.apache.tinkerpop.gremlin.process.computer.GraphComputer.Persist
- All Implemented Interfaces:
Serializable,Comparable<GraphComputer.Persist>,Constable
- Enclosing interface:
- GraphComputer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWrite vertex, vertex properties, and edges to theGraphComputer.ResultGraph.Write nothing to the declaredGraphComputer.ResultGraph.Write vertex and vertex properties to theGraphComputer.ResultGraph. -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphComputer.PersistReturns the enum constant of this class with the specified name.static GraphComputer.Persist[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOTHING
Write nothing to the declaredGraphComputer.ResultGraph. -
VERTEX_PROPERTIES
Write vertex and vertex properties to theGraphComputer.ResultGraph. -
EDGES
Write vertex, vertex properties, and edges to theGraphComputer.ResultGraph.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-