public abstract class AbstractKeyValueGraphFactory extends AbstractGraphFactory implements GraphFactory
Constructor and Description |
---|
AbstractKeyValueGraphFactory(boolean supportGetContextNodes,
boolean supportGetRelations) |
Modifier and Type | Method and Description |
---|---|
boolean |
getSupportGetContextNodes() |
boolean |
getSupportGetRelations() |
Graph |
openGraph(String identifier)
Opens a graph.
|
protected abstract KeyValueStore |
openKeyValueStore(String identifier)
This must be overridden by subclasses to instantiate the key/value store.
|
void |
setSupportGetContextNodes(boolean supportGetContextNodes) |
void |
setSupportGetRelations(boolean supportGetRelations) |
loadGraph, loadGraph, loadGraph, openGraph, parseGraph, parseGraph, parseGraph
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadGraph, loadGraph, loadGraph, openGraph, parseGraph, parseGraph, parseGraph
public AbstractKeyValueGraphFactory(boolean supportGetContextNodes, boolean supportGetRelations)
public final Graph openGraph(String identifier) throws IOException
GraphFactory
openGraph
in interface GraphFactory
identifier
- An optional identifier to distinguish graphs from one another.IOException
protected abstract KeyValueStore openKeyValueStore(String identifier) throws IOException
identifier
- An optional identifier to distinguish key/value stores from one another.IOException
public boolean getSupportGetContextNodes()
public void setSupportGetContextNodes(boolean supportGetContextNodes)
public boolean getSupportGetRelations()
public void setSupportGetRelations(boolean supportGetRelations)
Copyright © 2017. All rights reserved.