public class EngineGraknGraphFactory extends Object
Engine's internal Graph Factory
This internal factory is used to produce GraknGraphs.
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 EngineGraknGraphFactory |
create(Properties properties) |
GraknGraph |
getGraph(String keyspace,
GraknTxType type) |
Properties |
properties() |
void |
refreshConnections() |
SystemKeyspace |
systemKeyspace() |
public static EngineGraknGraphFactory create(Properties properties)
public void refreshConnections()
public GraknGraph getGraph(String keyspace, GraknTxType type)
public Properties properties()
public SystemKeyspace systemKeyspace()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.