public class KeyValueGraph extends AbstractGraph implements Graph
Modifier and Type | Method and Description |
---|---|
void |
beginTransaction()
Starts a new transaction.
|
void |
close()
Closes the graph.
|
void |
commitTransaction()
Commits the changes made by the transaction.
|
KeyValueStore |
getKeyValueStore()
Returns the key/value store this graph is based on.
|
ContextNode |
getRootContextNode(boolean subgraph)
Gets the local root context node of this graph.
|
boolean |
getSupportGetContextNodes() |
boolean |
getSupportGetRelations() |
void |
rollbackTransaction()
Rolls back the changes made by the transaction.
|
boolean |
supportsTransactions()
Check if this graph supports transactions.
|
clear, compareTo, containsStatement, equals, getAllStatementCount, getAllStatements, getDeepContextNode, getDeepContextNode, getDeepLiteralNode, getDeepLiteralNode, getDeepNode, getDeepNode, getDeepRelation, getDeepRelation, getDeepRelations, getGraphFactory, getIdentifier, getRootContextNode, getStatement, hashCode, isEmpty, setDeepContextNode, setDeepLiteralNode, setDeepNode, setDeepRelation, setDeepRelation, setStatement, toString, toString, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clear, containsStatement, getAllStatementCount, getAllStatements, getDeepContextNode, getDeepContextNode, getDeepLiteralNode, getDeepLiteralNode, getDeepNode, getDeepNode, getDeepRelation, getDeepRelation, getDeepRelations, getGraphFactory, getIdentifier, getRootContextNode, getStatement, isEmpty, setDeepContextNode, setDeepLiteralNode, setDeepNode, setDeepRelation, setDeepRelation, setStatement, toString, toString, toString
compareTo
public ContextNode getRootContextNode(boolean subgraph)
Graph
getRootContextNode
in interface Graph
subgraph
- This is simply a hint to the implementation whether
child context nodes will subsequently be requested. Implementations may
or may not actually use this parameter.public void close()
Graph
public boolean supportsTransactions()
Graph
supportsTransactions
in interface Graph
supportsTransactions
in class AbstractGraph
public void beginTransaction()
Graph
beginTransaction
in interface Graph
beginTransaction
in class AbstractGraph
public void commitTransaction()
Graph
commitTransaction
in interface Graph
commitTransaction
in class AbstractGraph
public void rollbackTransaction()
Graph
rollbackTransaction
in interface Graph
rollbackTransaction
in class AbstractGraph
public KeyValueStore getKeyValueStore()
public boolean getSupportGetContextNodes()
public boolean getSupportGetRelations()
Copyright © 2017. All rights reserved.