public static enum JanusGraphComputer.ResultMode extends Enum<JanusGraphComputer.ResultMode>
Modifier and Type | Method and Description |
---|---|
org.apache.tinkerpop.gremlin.process.computer.GraphComputer.Persist |
toPersist() |
org.apache.tinkerpop.gremlin.process.computer.GraphComputer.ResultGraph |
toResultGraph() |
static JanusGraphComputer.ResultMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JanusGraphComputer.ResultMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JanusGraphComputer.ResultMode NONE
public static final JanusGraphComputer.ResultMode PERSIST
public static final JanusGraphComputer.ResultMode LOCALTX
public static JanusGraphComputer.ResultMode[] values()
for (JanusGraphComputer.ResultMode c : JanusGraphComputer.ResultMode.values()) System.out.println(c);
public static JanusGraphComputer.ResultMode 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 nullpublic org.apache.tinkerpop.gremlin.process.computer.GraphComputer.ResultGraph toResultGraph()
public org.apache.tinkerpop.gremlin.process.computer.GraphComputer.Persist toPersist()
Copyright © 2012–2018. All rights reserved.