| Package | Description |
|---|---|
| ai.grakn.factory |
Provides graph accessors for different backends.
|
| ai.grakn.kb.internal |
Internal implementation of
GraknTx. |
| Modifier and Type | Method and Description |
|---|---|
static EmbeddedGraknSession |
EmbeddedGraknSession.createEngineSession(Keyspace keyspace) |
static EmbeddedGraknSession |
EmbeddedGraknSession.createEngineSession(Keyspace keyspace,
GraknConfig config) |
static EmbeddedGraknSession |
EmbeddedGraknSession.createEngineSession(Keyspace keyspace,
GraknConfig config,
TxFactoryBuilder txFactoryBuilder)
Creates a
EmbeddedGraknSession specific for internal use (within Engine),
using provided Grakn configuration |
static EmbeddedGraknSession |
EmbeddedGraknSession.inMemory(Keyspace keyspace) |
static EmbeddedGraknSession |
EmbeddedGraknSession.inMemory(String keyspace) |
EmbeddedGraknSession |
TxFactoryAbstract.session() |
| Modifier and Type | Method and Description |
|---|---|
TxFactory<?> |
GraknTxFactoryBuilder.getFactory(EmbeddedGraknSession session,
boolean isComputerFactory) |
abstract TxFactory<?> |
TxFactoryBuilder.getFactory(EmbeddedGraknSession session,
boolean isComputerFactory) |
protected static TxFactory<?> |
TxFactoryBuilder.newFactory(String factoryType,
EmbeddedGraknSession session) |
| Constructor and Description |
|---|
TxFactoryAbstract(EmbeddedGraknSession session) |
| Modifier and Type | Method and Description |
|---|---|
EmbeddedGraknSession |
EmbeddedGraknTx.session() |
| Constructor and Description |
|---|
EmbeddedGraknTx(EmbeddedGraknSession session,
G graph) |
GraknTxTinker(EmbeddedGraknSession session,
org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph tinkerGraph) |
Copyright © 2018 Grakn Labs Ltd. All rights reserved.