public final class TxFactoryJanus extends Object
A GraknTx on top of JanusGraph
This produces a grakn graph on top of JanusGraph.
The base construction process defined by TxFactoryAbstract ensures the graph factories are singletons.
| Modifier and Type | Field and Description |
|---|---|
protected String |
engineUrl |
protected ai.grakn.Keyspace |
keyspace |
protected Properties |
properties |
| Modifier and Type | Method and Description |
|---|---|
org.janusgraph.core.JanusGraph |
getGraphWithNewTransaction(org.janusgraph.core.JanusGraph 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
public org.janusgraph.core.JanusGraph getGraphWithNewTransaction(org.janusgraph.core.JanusGraph 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.