
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, parseGraphclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadGraph, loadGraph, loadGraph, openGraph, parseGraph, parseGraph, parseGraphpublic AbstractKeyValueGraphFactory(boolean supportGetContextNodes,
boolean supportGetRelations)
public final Graph openGraph(String identifier) throws IOException
GraphFactoryopenGraph in interface GraphFactoryidentifier - An optional identifier to distinguish graphs from one another.IOExceptionprotected abstract KeyValueStore openKeyValueStore(String identifier) throws IOException
identifier - An optional identifier to distinguish key/value stores from one another.IOExceptionpublic boolean getSupportGetContextNodes()
public void setSupportGetContextNodes(boolean supportGetContextNodes)
public boolean getSupportGetRelations()
public void setSupportGetRelations(boolean supportGetRelations)
Copyright © 2017. All rights reserved.