public class TestGraph extends Object implements org.apache.tinkerpop.gremlin.structure.Graph
org.apache.tinkerpop.gremlin.structure.Graph.Exceptions, org.apache.tinkerpop.gremlin.structure.Graph.Features, org.apache.tinkerpop.gremlin.structure.Graph.Hidden, org.apache.tinkerpop.gremlin.structure.Graph.OptIn, org.apache.tinkerpop.gremlin.structure.Graph.OptIns, org.apache.tinkerpop.gremlin.structure.Graph.OptOut, org.apache.tinkerpop.gremlin.structure.Graph.OptOuts, org.apache.tinkerpop.gremlin.structure.Graph.Variables| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_VL |
static Set<String> |
TRUNCATE_BACKENDS |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tinkerpop.gremlin.structure.Vertex |
addVertex(Object... keyValues) |
void |
autoPerson(boolean autoPerson) |
protected void |
clearAll(String testClass) |
protected void |
clearBackend() |
protected void |
clearSchema() |
protected void |
clearVariables() |
void |
close() |
protected boolean |
closed() |
org.apache.tinkerpop.gremlin.process.computer.GraphComputer |
compute() |
<C extends org.apache.tinkerpop.gremlin.process.computer.GraphComputer> |
compute(Class<C> graphComputerClass) |
org.apache.commons.configuration.Configuration |
configuration() |
Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edges(Object... edgeIds) |
HugeFeatures |
features() |
HugeGraph |
hugegraph() |
protected void |
initBackend() |
void |
initBasicSchema(IdStrategy idStrategy,
String defaultVL) |
void |
initClassicSchema(IdStrategy idStrategy) |
boolean |
initedBackend() |
void |
initGratefulSchema(IdStrategy idStrategy) |
void |
initModernSchema(IdStrategy idStrategy) |
void |
initPropertyKey(String key,
String type) |
<I extends org.apache.tinkerpop.gremlin.structure.io.Io> |
io(org.apache.tinkerpop.gremlin.structure.io.Io.Builder<I> builder) |
boolean |
ioTest() |
void |
ioTest(boolean ioTest) |
String |
loadedGraph() |
void |
loadedGraph(String loadedGraph) |
String |
toString() |
protected void |
truncateBackend() |
org.apache.tinkerpop.gremlin.structure.Transaction |
tx() |
org.apache.tinkerpop.gremlin.structure.Graph.Variables |
variables() |
Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
vertices(Object... vertexIds) |
public static final String DEFAULT_VL
public TestGraph(HugeGraph graph)
public HugeGraph hugegraph()
protected void initBackend()
protected void clearBackend()
protected void clearAll(String testClass)
protected void truncateBackend()
protected void clearSchema()
protected void clearVariables()
protected boolean closed()
public org.apache.tinkerpop.gremlin.structure.Vertex addVertex(Object... keyValues)
addVertex in interface org.apache.tinkerpop.gremlin.structure.Graphpublic Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(Object... vertexIds)
vertices in interface org.apache.tinkerpop.gremlin.structure.Graphpublic Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edges(Object... edgeIds)
edges in interface org.apache.tinkerpop.gremlin.structure.Graphpublic org.apache.tinkerpop.gremlin.structure.Transaction tx()
tx in interface org.apache.tinkerpop.gremlin.structure.Graphpublic void close()
throws Exception
close in interface AutoCloseableclose in interface org.apache.tinkerpop.gremlin.structure.GraphExceptionpublic <C extends org.apache.tinkerpop.gremlin.process.computer.GraphComputer> C compute(Class<C> graphComputerClass) throws IllegalArgumentException
compute in interface org.apache.tinkerpop.gremlin.structure.GraphIllegalArgumentExceptionpublic org.apache.tinkerpop.gremlin.process.computer.GraphComputer compute()
throws IllegalArgumentException
compute in interface org.apache.tinkerpop.gremlin.structure.GraphIllegalArgumentExceptionpublic <I extends org.apache.tinkerpop.gremlin.structure.io.Io> I io(org.apache.tinkerpop.gremlin.structure.io.Io.Builder<I> builder)
io in interface org.apache.tinkerpop.gremlin.structure.Graphpublic org.apache.tinkerpop.gremlin.structure.Graph.Variables variables()
variables in interface org.apache.tinkerpop.gremlin.structure.Graphpublic org.apache.commons.configuration.Configuration configuration()
configuration in interface org.apache.tinkerpop.gremlin.structure.Graphpublic HugeFeatures features()
features in interface org.apache.tinkerpop.gremlin.structure.Graphpublic void loadedGraph(String loadedGraph)
public String loadedGraph()
public boolean initedBackend()
public void autoPerson(boolean autoPerson)
public void ioTest(boolean ioTest)
public boolean ioTest()
public void initGratefulSchema(IdStrategy idStrategy)
public void initModernSchema(IdStrategy idStrategy)
public void initClassicSchema(IdStrategy idStrategy)
public void initBasicSchema(IdStrategy idStrategy, String defaultVL)
Copyright © 2017–2019. All rights reserved.