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 |
| Constructor and Description |
|---|
TestGraph(com.baidu.hugegraph.HugeGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tinkerpop.gremlin.structure.Vertex |
addVertex(Object... keyValues) |
void |
autoPerson(Boolean autoPerson) |
protected void |
clearBackend() |
protected void |
clearSchema() |
protected void |
clearVariables() |
void |
close() |
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) |
com.baidu.hugegraph.structure.HugeFeatures |
features() |
com.baidu.hugegraph.HugeGraph |
hugeGraph() |
protected void |
initBackend() |
void |
initBasicSchema(com.baidu.hugegraph.type.define.IdStrategy idStrategy,
String defaultVL) |
void |
initClassicSchema() |
boolean |
initedBackend() |
void |
initGratefulSchema() |
void |
initModernSchema() |
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) |
void |
ioTest(Boolean ioTest) |
void |
isLastIdCustomized(boolean isLastIdCustomized) |
String |
loadedGraph() |
void |
loadedGraph(String loadedGraph) |
String |
toString() |
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 com.baidu.hugegraph.HugeGraph hugeGraph()
protected void initBackend()
protected void clearBackend()
protected void clearSchema()
protected void clearVariables()
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 com.baidu.hugegraph.structure.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 void isLastIdCustomized(boolean isLastIdCustomized)
public void initGratefulSchema()
public void initModernSchema()
public void initClassicSchema()
public void initBasicSchema(com.baidu.hugegraph.type.define.IdStrategy idStrategy,
String defaultVL)
Copyright © 2017–2018. All rights reserved.