public class NanoSparqlObjectManager extends ObjectMgrModel
IObjectManager
using the NanoSparqlServer REST API to communicate with the database.m_maxDirtyListSize, m_valueFactory
Constructor and Description |
---|
NanoSparqlObjectManager(RemoteRepository repo,
String namespace) |
Modifier and Type | Method and Description |
---|---|
ICloseableIterator<org.openrdf.query.BindingSet> |
evaluate(String query) |
ICloseableIterator<org.openrdf.model.Statement> |
evaluateGraph(String query) |
void |
execute(String updateStr) |
protected void |
flushStatements(List<org.openrdf.model.Statement> m_inserts,
List<org.openrdf.model.Statement> m_removes)
Flush statements to be inserted and removed to the backing store..
|
boolean |
isPersistent()
Return
true iff the object manager is backed by some
persistence layer. |
addToDirtyList, beginNativeTransaction, bestEffortIntern, clearCache, close, commitNativeTransaction, createGPO, encode, getDefaultNameMgr, getDirtyObjectCount, getGPO, getGPO, getGPOs, getID, getNames, getNativeTransactionCounter, getValueFactory, initGPO, initGPOs, internKey, materialize, materializeWithDescribe, materializeWithSelect, recall, recallAsGPO, remove, rollbackNativeTransaction, save
public NanoSparqlObjectManager(RemoteRepository repo, String namespace)
public ICloseableIterator<org.openrdf.query.BindingSet> evaluate(String query)
public void execute(String updateStr)
public boolean isPersistent()
IObjectManager
true
iff the object manager is backed by some
persistence layer.public ICloseableIterator<org.openrdf.model.Statement> evaluateGraph(String query)
protected void flushStatements(List<org.openrdf.model.Statement> m_inserts, List<org.openrdf.model.Statement> m_removes)
ObjectMgrModel
flushStatements
in class ObjectMgrModel
m_inserts
- The list of statements to be added.m_removes
- The list of statements to be removed.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.