public class OrientDBInternalFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
engineUrl |
protected M |
graknGraph |
protected G |
graph |
protected String |
keyspace |
protected Properties |
properties |
| Constructor and Description |
|---|
OrientDBInternalFactory(String keyspace,
String engineUrl,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
M |
getGraph(boolean batchLoading) |
protected M |
getGraph(M graknGraph,
boolean batchLoading) |
protected G |
getGraphWithNewTransaction(G graph) |
G |
getTinkerPopGraph(boolean batchLoading) |
protected G |
getTinkerPopGraph(G graph,
boolean batchLoading) |
protected final String keyspace
protected final String engineUrl
protected final Properties properties
protected M extends AbstractGraknGraph<G> graknGraph
protected G extends org.apache.tinkerpop.gremlin.structure.Graph graph
public OrientDBInternalFactory(String keyspace, String engineUrl, Properties properties)
public M getGraph(boolean batchLoading)
batchLoading - A flag which indicates if the graph has batch loading enabled or not.protected M getGraph(M graknGraph,
boolean batchLoading)
public G getTinkerPopGraph(boolean batchLoading)
batchLoading - A flag which indicates if the graph has batch loading enabled or not.protected G getTinkerPopGraph(G graph,
boolean batchLoading)
protected G getGraphWithNewTransaction(G graph)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.