public class GraknSessionLocal extends GraknSessionImpl
Test GraknSession
A GraknSession used for testing which bypasses the need to hit the REST controller responsible
for feeding in the appropriate config file.
This session can be used to provide GraknTx's dependent on either a TinkerGraph or
JanusGraph
| Modifier and Type | Method and Description |
|---|---|
static GraknSessionLocal |
create(ai.grakn.Keyspace keyspace) |
static GraknSessionLocal |
create(ai.grakn.Keyspace keyspace,
String engineUri,
ai.grakn.engine.GraknConfig config) |
protected void |
submitLogs() |
close, commitLogHandler, config, create, createEngineSession, getGraphComputer, keyspace, open, uripublic static GraknSessionLocal create(ai.grakn.Keyspace keyspace)
public static GraknSessionLocal create(ai.grakn.Keyspace keyspace, String engineUri, ai.grakn.engine.GraknConfig config)
protected void submitLogs()
submitLogs in class GraknSessionImplCopyright © 2018 Grakn Labs Ltd. All rights reserved.