public class SystemKeyspaceFake extends Object implements ai.grakn.engine.SystemKeyspace
SystemKeyspace implementation, that follows the correct contract, but operates without a real
knowledge base.| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKeyspace(ai.grakn.Keyspace keyspace) |
boolean |
deleteKeyspace(ai.grakn.Keyspace keyspace) |
Set<ai.grakn.Keyspace> |
keyspaces() |
void |
loadSystemSchema() |
static SystemKeyspaceFake |
of(ai.grakn.Keyspace... keyspaces) |
void |
openKeyspace(ai.grakn.Keyspace keyspace) |
public static SystemKeyspaceFake of(ai.grakn.Keyspace... keyspaces)
public void openKeyspace(ai.grakn.Keyspace keyspace)
openKeyspace in interface ai.grakn.engine.SystemKeyspacepublic boolean containsKeyspace(ai.grakn.Keyspace keyspace)
containsKeyspace in interface ai.grakn.engine.SystemKeyspacepublic boolean deleteKeyspace(ai.grakn.Keyspace keyspace)
deleteKeyspace in interface ai.grakn.engine.SystemKeyspacepublic Set<ai.grakn.Keyspace> keyspaces()
keyspaces in interface ai.grakn.engine.SystemKeyspacepublic void loadSystemSchema()
loadSystemSchema in interface ai.grakn.engine.SystemKeyspacepublic void clear()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.