
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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitclear, 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, toStringcompareTopublic ContextNode getRootContextNode(boolean subgraph)
GraphgetRootContextNode in interface Graphsubgraph - 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()
Graphpublic boolean supportsTransactions()
GraphsupportsTransactions in interface GraphsupportsTransactions in class AbstractGraphpublic void beginTransaction()
GraphbeginTransaction in interface GraphbeginTransaction in class AbstractGraphpublic void commitTransaction()
GraphcommitTransaction in interface GraphcommitTransaction in class AbstractGraphpublic void rollbackTransaction()
GraphrollbackTransaction in interface GraphrollbackTransaction in class AbstractGraphpublic KeyValueStore getKeyValueStore()
public boolean getSupportGetContextNodes()
public boolean getSupportGetRelations()
Copyright © 2017. All rights reserved.