public class GraphGremlinBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource |
g |
protected org.apache.tinkerpop.gremlin.structure.Graph |
graph |
protected Map<String,Object> |
properties |
protected boolean |
supportingTransactions |
| Constructor and Description |
|---|
GraphGremlinBase(ConnectionProperties connectionProperties)
Constructs a graph using the given properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeGraph()
Closes the graph instance.
|
protected void |
createSchema()
Creates the graph schema.
|
void |
dropGraph()
Drops the graph instance.
|
boolean |
isSupportingTransactions()
Returns transaction support property of the specific graph instance.
|
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource |
openGraph()
Opens the graph instance.
|
void |
updateElements()
Makes an update to the existing graph structure.
|
protected org.apache.tinkerpop.gremlin.structure.Graph graph
protected org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource g
protected boolean supportingTransactions
public GraphGremlinBase(ConnectionProperties connectionProperties)
connectionProperties - the properties coming from the requestpublic org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource openGraph()
public void dropGraph()
throws Exception
Exceptionprotected void createSchema()
public void updateElements()
public boolean isSupportingTransactions()
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.