public class KeyspaceStoreImpl extends Object implements KeyspaceStore
KeyspaceStore that uses an EmbeddedGraknSession to access a knowledge
base and store keyspace information.KEYSPACE_RESOURCE| Constructor and Description |
|---|
KeyspaceStoreImpl(GraknConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyspace(Keyspace keyspace)
Logs a new
Keyspace to the KeyspaceStore. |
boolean |
containsKeyspace(Keyspace keyspace) |
boolean |
deleteKeyspace(Keyspace keyspace) |
Set<Keyspace> |
keyspaces() |
void |
loadSystemSchema() |
public KeyspaceStoreImpl(GraknConfig config)
public void addKeyspace(Keyspace keyspace)
Keyspace to the KeyspaceStore.addKeyspace in interface KeyspaceStorekeyspace - The new Keyspace we have just createdpublic boolean containsKeyspace(Keyspace keyspace)
containsKeyspace in interface KeyspaceStorepublic boolean deleteKeyspace(Keyspace keyspace)
deleteKeyspace in interface KeyspaceStorepublic Set<Keyspace> keyspaces()
keyspaces in interface KeyspaceStorepublic void loadSystemSchema()
loadSystemSchema in interface KeyspaceStoreCopyright © 2018 Grakn Labs Ltd. All rights reserved.