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 |
|---|---|
GraknGraph |
getGraph(String keyspace,
GraknTxType type) |
static EngineGraknGraphFactory |
getInstance() |
void |
refreshConnections() |
public static EngineGraknGraphFactory getInstance()
public void refreshConnections()
public GraknGraph getGraph(String keyspace, GraknTxType type)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.