public class SchemaCachingRDFSInferencerConnection extends InferencerConnectionWrapper implements SailConnectionListener
| Modifier and Type | Method and Description |
|---|---|
void |
addStatement(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
begin() |
void |
begin(IsolationLevel level) |
void |
clearInferred(Resource... contexts)
Removes all inferred statements from the specified/all contexts.
|
void |
commit()
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection. |
void |
flushUpdates()
Flushes any pending updates to be processed and the resulting changes to be reported to registered
SailConnectionListeners. |
void |
rollback() |
void |
statementAdded(Statement st) |
void |
statementRemoved(Statement st) |
addInferredStatement, evaluate, flush, getContextIDs, getStatements, getWrappedConnection, prepare, removeInferredStatement, sizeaddConnectionListener, removeConnectionListeneraddStatement, clear, clearNamespaces, close, endUpdate, getNamespace, getNamespaces, isActive, isOpen, pendingRemovals, removeNamespace, removeStatement, removeStatements, setFederatedServiceResolver, setNamespace, size, startUpdateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddConnectionListener, removeConnectionListeneraddStatement, addStatement, addStatement, clear, clearNamespaces, close, endUpdate, getNamespace, getNamespaces, getStatements, hasStatement, isActive, isOpen, pendingRemovals, removeNamespace, removeStatement, removeStatement, removeStatements, removeStatements, setNamespace, startUpdatepublic void clearInferred(Resource... contexts) throws SailException
InferencerConnectionclearInferred in interface InferencerConnectionclearInferred in class InferencerConnectionWrappercontexts - The context(s) from which to remove the statements. Note that this parameter is a vararg and as
such is optional. If no contexts are supplied the method operates on the entire repository.SailException - If the statements could not be removed.public void commit()
throws SailException
InferencerConnectionWrapperInferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection.commit in interface SailConnectioncommit in class InferencerConnectionWrapperSailExceptionpublic void addStatement(Resource subject, IRI predicate, Value object, Resource... contexts) throws SailException
addStatement in interface SailConnectionaddStatement in class org.eclipse.rdf4j.sail.helpers.SailConnectionWrapperSailExceptionpublic void rollback()
throws SailException
rollback in interface SailConnectionrollback in class org.eclipse.rdf4j.sail.helpers.SailConnectionWrapperSailExceptionpublic void begin()
throws SailException
begin in interface SailConnectionbegin in class org.eclipse.rdf4j.sail.helpers.SailConnectionWrapperSailExceptionpublic void begin(IsolationLevel level) throws SailException
begin in interface SailConnectionbegin in class org.eclipse.rdf4j.sail.helpers.SailConnectionWrapperSailExceptionpublic void flushUpdates()
throws SailException
InferencerConnectionSailConnectionListeners.flushUpdates in interface InferencerConnectionflushUpdates in class InferencerConnectionWrapperSailException - If the updates could not be processed.public void statementAdded(Statement st)
statementAdded in interface SailConnectionListenerpublic void statementRemoved(Statement st)
statementRemoved in interface SailConnectionListenerCopyright © 2015-2018 Eclipse Foundation. All Rights Reserved.