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| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_VL |
static Set<String> |
TRUNCATE_BACKENDS |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
org.apache.tinkerpop.gremlin.structure.Graph.Features |
features() |
HugeGraph |
hugegraph() |
protected void |
initBackend() |
void |
initBasicSchema(IdStrategy idStrategy,
String defaultVL) |
void |
initClassicSchema(IdStrategy idStrategy) |
boolean |
initedBackend() |
void |
initEdgeLabelDefaultCreatedDefault(String defaultVL) |
void |
initEdgeLabelDefaultKnowsDefault(String defaultVL) |
void |
initEdgeLabelPersonCreatedSoftware() |
void |
initEdgeLabelPersonKnowsPerson() |
void |
initGratefulSchema(IdStrategy idStrategy) |
void |
initModernSchema(IdStrategy idStrategy) |
void |
initPropertyKey(String key,
String type) |
void |
initSinkSchema() |
<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 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 在接口中 org.apache.tinkerpop.gremlin.structure.Graphpublic Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(Object... vertexIds)
vertices 在接口中 org.apache.tinkerpop.gremlin.structure.Graphpublic Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edges(Object... edgeIds)
edges 在接口中 org.apache.tinkerpop.gremlin.structure.Graphpublic org.apache.tinkerpop.gremlin.structure.Transaction tx()
tx 在接口中 org.apache.tinkerpop.gremlin.structure.Graphpublic void close()
throws Exception
close 在接口中 AutoCloseableclose 在接口中 org.apache.tinkerpop.gremlin.structure.GraphExceptionpublic <C extends org.apache.tinkerpop.gremlin.process.computer.GraphComputer> C compute(Class<C> graphComputerClass) throws IllegalArgumentException
compute 在接口中 org.apache.tinkerpop.gremlin.structure.GraphIllegalArgumentExceptionpublic org.apache.tinkerpop.gremlin.process.computer.GraphComputer compute()
throws IllegalArgumentException
compute 在接口中 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 在接口中 org.apache.tinkerpop.gremlin.structure.Graphpublic org.apache.tinkerpop.gremlin.structure.Graph.Variables variables()
variables 在接口中 org.apache.tinkerpop.gremlin.structure.Graphpublic org.apache.commons.configuration.Configuration configuration()
configuration 在接口中 org.apache.tinkerpop.gremlin.structure.Graphpublic org.apache.tinkerpop.gremlin.structure.Graph.Features features()
features 在接口中 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)
public void initEdgeLabelDefaultKnowsDefault(String defaultVL)
public void initEdgeLabelDefaultCreatedDefault(String defaultVL)
public void initEdgeLabelPersonKnowsPerson()
public void initEdgeLabelPersonCreatedSoftware()
public void initSinkSchema()
Copyright © 2017–2021. All rights reserved.