public class GraknGraphFactoryPersistent extends Object implements GraknGraphFactory
| Constructor and Description |
|---|
GraknGraphFactoryPersistent(String keyspace,
String uri) |
| Modifier and Type | Method and Description |
|---|---|
protected static ai.grakn.factory.GraknGraphFactoryPersistent.ConfiguredFactory |
configureGraphFactory(String keyspace,
String engineUrl,
String graphType) |
GraknGraph |
getGraph()
Get a new or existing graph.
|
GraknGraph |
getGraphBatchLoading()
Get a new or existing graph with batch loading enabled.
|
GraknComputer |
getGraphComputer()
Get a new or existing GraknComputer.
|
public GraknGraph getGraph()
GraknGraphFactorygetGraph in interface GraknGraphFactoryGraknGraphpublic GraknGraph getGraphBatchLoading()
GraknGraphFactorygetGraphBatchLoading in interface GraknGraphFactoryGraknGraphpublic GraknComputer getGraphComputer()
GraknGraphFactorygetGraphComputer in interface GraknGraphFactoryGraknComputerprotected static ai.grakn.factory.GraknGraphFactoryPersistent.ConfiguredFactory configureGraphFactory(String keyspace, String engineUrl, String graphType)
engineUrl - The remote uri fo where engine is locatedgraphType - The type of graph to produce, default, batch, or computeCopyright © 2016 Grakn Labs Ltd. All rights reserved.