public class BDBKeyValueGraphFactory extends AbstractKeyValueGraphFactory implements GraphFactory
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DATABASE_PATH |
static boolean |
DEFAULT_SUPPORT_GET_CONTEXTNODES |
static boolean |
DEFAULT_SUPPORT_GET_LITERALS |
static boolean |
DEFAULT_SUPPORT_GET_RELATIONS |
Constructor and Description |
---|
BDBKeyValueGraphFactory() |
Modifier and Type | Method and Description |
---|---|
void |
dumpGraph(String identifier,
PrintStream stream) |
String |
getDatabasePath() |
protected KeyValueStore |
openKeyValueStore(String identifier)
This must be overridden by subclasses to instantiate the key/value store.
|
void |
setDatabasePath(String path) |
getSupportGetContextNodes, getSupportGetRelations, openGraph, setSupportGetContextNodes, setSupportGetRelations
loadGraph, loadGraph, loadGraph, openGraph, parseGraph, parseGraph, parseGraph
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadGraph, loadGraph, loadGraph, openGraph, openGraph, parseGraph, parseGraph, parseGraph
public static final boolean DEFAULT_SUPPORT_GET_CONTEXTNODES
public static final boolean DEFAULT_SUPPORT_GET_RELATIONS
public static final boolean DEFAULT_SUPPORT_GET_LITERALS
public static final String DEFAULT_DATABASE_PATH
protected KeyValueStore openKeyValueStore(String identifier) throws IOException
AbstractKeyValueGraphFactory
openKeyValueStore
in class AbstractKeyValueGraphFactory
identifier
- An optional identifier to distinguish key/value stores from one another.IOException
public void dumpGraph(String identifier, PrintStream stream) throws IOException
IOException
public String getDatabasePath()
public void setDatabasePath(String path)
Copyright © 2017. All rights reserved.