public class GraknGraphFactoryImpl extends Object implements GraknGraphFactory
Builds a Grakn Graph factory
This class facilitates the construction of Grakn Grahs by determining which factory should be built.
It does this by either defaulting to an in memory graph GraknTinkerGraph or by
retrieving the factory definition from engine.
The deployer of engine decides on the backend and this class will handle producing the correct graphs.
| Constructor and Description |
|---|
GraknGraphFactoryImpl(String keyspace,
String location) |
| Modifier and Type | Method and Description |
|---|---|
GraknGraph |
getGraph() |
GraknGraph |
getGraphBatchLoading() |
GraknComputer |
getGraphComputer() |
public GraknGraph getGraph()
getGraph in interface GraknGraphFactorypublic GraknGraph getGraphBatchLoading()
getGraphBatchLoading in interface GraknGraphFactorypublic GraknComputer getGraphComputer()
getGraphComputer in interface GraknGraphFactoryCopyright © 2016 Grakn Labs Ltd. All rights reserved.