public class TxFactoryJanusHadoop extends Object
A GraknTx on top of HadoopGraph
This produces a graph on top of HadoopGraph.
The base construction process defined by TxFactoryAbstract 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 ai.grakn.Keyspace |
keyspace |
protected Properties |
properties |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph |
getGraphWithNewTransaction(org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph graph,
boolean batchloading) |
G |
getTinkerPopGraph(boolean arg0) |
M |
open(ai.grakn.GraknTxType arg0) |
protected final ai.grakn.Keyspace keyspace
protected final String engineUrl
protected final Properties properties
protected org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph getGraphWithNewTransaction(org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph graph,
boolean batchloading)
public M open(ai.grakn.GraknTxType arg0)
public G getTinkerPopGraph(boolean arg0)
getTinkerPopGraph in interface TxFactory<G extends org.apache.tinkerpop.gremlin.structure.Graph>Copyright © 2017 Grakn Labs Ltd. All rights reserved.