public class TitanHadoopInternalFactory extends Object
A Grakn Graph on top of HadoopGraph
This produces a graph on top of HadoopGraph.
The base construction process defined by AbstractInternalFactory ensures the graph factories are singletons.
With this vendor some exceptions are in places:
1. The Grakn API cannnot work on HadoopGraph this is due to not being able to directly write to a
HadoopGraph.
2. This factory primarily exists as a means of producing a
GraphComputer on of HadoopGraph
| Modifier and Type | Field and Description |
|---|---|
protected String |
engineUrl |
protected M |
graknGraph |
protected G |
graph |
protected String |
keyspace |
protected 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 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.