public class GraknKeyspaceStoreImpl extends Object implements GraknKeyspaceStore
GraknKeyspaceStore that uses a EngineGraknTxFactory to access a knowledge
base and store keyspace information.KEYSPACE_RESOURCE, SYSTEM_KB_KEYSPACE| Modifier and Type | Method and Description |
|---|---|
void |
addKeyspace(ai.grakn.Keyspace keyspace)
Logs a new
Keyspace to the GraknKeyspaceStore. |
boolean |
containsKeyspace(ai.grakn.Keyspace keyspace) |
static GraknKeyspaceStore |
create(SystemKeyspaceSession session) |
boolean |
deleteKeyspace(ai.grakn.Keyspace keyspace) |
Set<ai.grakn.Keyspace> |
keyspaces() |
void |
loadSystemSchema() |
public static GraknKeyspaceStore create(SystemKeyspaceSession session)
public void addKeyspace(ai.grakn.Keyspace keyspace)
Keyspace to the GraknKeyspaceStore.addKeyspace in interface GraknKeyspaceStorekeyspace - The new Keyspace we have just createdpublic boolean containsKeyspace(ai.grakn.Keyspace keyspace)
containsKeyspace in interface GraknKeyspaceStorepublic boolean deleteKeyspace(ai.grakn.Keyspace keyspace)
deleteKeyspace in interface GraknKeyspaceStorepublic Set<ai.grakn.Keyspace> keyspaces()
keyspaces in interface GraknKeyspaceStorepublic void loadSystemSchema()
loadSystemSchema in interface GraknKeyspaceStoreCopyright © 2018 Grakn Labs Ltd. All rights reserved.