public class EngineGraknTxFactory extends Object
Engine's internal GraknTx Factory
This internal factory is used to produce GraknTxs.
It is also worth noting that both this class and Grakn.session(String, String) us the same
FactoryBuilder. This means that graphs produced from either factory pointing to the same keyspace
are actually the same graphs.
| Modifier and Type | Method and Description |
|---|---|
static EngineGraknTxFactory |
create(Properties properties) |
static EngineGraknTxFactory |
createAndLoadSystemSchema(Properties properties) |
Properties |
properties() |
void |
refreshConnections() |
SystemKeyspace |
systemKeyspace() |
ai.grakn.GraknTx |
tx(ai.grakn.Keyspace keyspace,
ai.grakn.GraknTxType type) |
ai.grakn.GraknTx |
tx(String keyspace,
ai.grakn.GraknTxType type) |
public static EngineGraknTxFactory createAndLoadSystemSchema(Properties properties)
public static EngineGraknTxFactory create(Properties properties)
public void refreshConnections()
public ai.grakn.GraknTx tx(String keyspace, ai.grakn.GraknTxType type)
public ai.grakn.GraknTx tx(ai.grakn.Keyspace keyspace,
ai.grakn.GraknTxType type)
public Properties properties()
public SystemKeyspace systemKeyspace()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.