public class TxFactoryTinker extends TxFactoryAbstract<GraknTxTinker,org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>
A GraknTx on top of TinkerGraph
This produces an in memory grakn graph on top of TinkerGraph.
The base construction process defined by TxFactoryAbstract ensures the graph factories are singletons.
batchTinkerPopGraphWithTx, tinkerPopGraphWithTx| Modifier and Type | Method and Description |
|---|---|
protected GraknTxTinker |
buildGraknTxFromTinkerGraph(org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph graph) |
protected org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph |
buildTinkerPopGraph(boolean batchLoading) |
protected org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph |
getGraphWithNewTransaction(org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph graph,
boolean batchLoading) |
org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph |
getTinkerPopGraph() |
getTinkerPopGraph, open, sessionprotected GraknTxTinker buildGraknTxFromTinkerGraph(org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph graph)
buildGraknTxFromTinkerGraph in class TxFactoryAbstract<GraknTxTinker,org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>protected org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph buildTinkerPopGraph(boolean batchLoading)
buildTinkerPopGraph in class TxFactoryAbstract<GraknTxTinker,org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>public org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph getTinkerPopGraph()
protected org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph getGraphWithNewTransaction(org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph graph,
boolean batchLoading)
getGraphWithNewTransaction in class TxFactoryAbstract<GraknTxTinker,org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>Copyright © 2018 Grakn Labs Ltd. All rights reserved.