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 | 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) |
ai.grakn.GraknSession |
session() |
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>public ai.grakn.GraknSession session()
Copyright © 2018 Grakn Labs Ltd. All rights reserved.