@Experimental public class ExtensibleStoreConnection<E extends ExtensibleStore> extends SailSourceConnection
| Modifier and Type | Field and Description |
|---|---|
protected E |
sail |
connectionLock, updateLock| Modifier | Constructor and Description |
|---|---|
protected |
ExtensibleStoreConnection(E sail) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds an inferred statement to a specific context.
|
protected void |
addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
clearInferred(Resource... contexts)
Removes all inferred statements from the specified/all contexts.
|
protected void |
clearInternal(Resource... contexts) |
protected void |
commitInternal() |
E |
getSail() |
boolean |
removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes an inferred statement from a specific context.
|
protected void |
removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
rollbackInternal() |
protected void |
startTransactionInternal() |
addStatement, clearNamespacesInternal, closeInternal, endUpdateInternal, evaluateInternal, explain, flushUpdates, getContextIDsInternal, getEvaluationStrategy, getFederatedServiceResolver, getNamespaceInternal, getNamespacesInternal, getStatementsInternal, prepareInternal, removeNamespaceInternal, removeStatement, setFederatedServiceResolver, setNamespaceInternal, sizeInternal, startUpdateaddConnectionListener, hasConnectionListeners, notifyStatementAdded, notifyStatementRemoved, removeConnectionListeneraddStatement, autoStartTransaction, begin, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, flush, getContextIDs, getExclusiveConnectionLock, getNamespace, getNamespaces, getSharedConnectionLock, getStatements, getTransactionIsolation, getTransactionLock, isActive, isActiveOperation, isOpen, iterationClosed, pendingAdds, pendingRemovals, prepare, registerIteration, removeNamespace, removeStatements, rollback, setNamespace, size, transactionActive, verifyIsActive, verifyIsOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddConnectionListener, removeConnectionListeneraddStatement, addStatement, addStatement, begin, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, flush, getContextIDs, getNamespace, getNamespaces, getStatements, getStatements, hasStatement, isActive, isOpen, pendingRemovals, prepare, prepareQuery, removeNamespace, removeStatement, removeStatements, removeStatements, rollback, setNamespace, setTransactionSettings, sizeprotected final E extends ExtensibleStore sail
protected ExtensibleStoreConnection(E sail)
public E getSail()
protected void startTransactionInternal()
throws SailException
startTransactionInternal in class SailSourceConnectionSailExceptionprotected void commitInternal()
throws SailException
commitInternal in class SailSourceConnectionSailExceptionprotected void rollbackInternal()
throws SailException
rollbackInternal in class SailSourceConnectionSailExceptionprotected void addStatementInternal(Resource subj, IRI pred, Value obj, Resource... contexts) throws SailException
addStatementInternal in class AbstractSailConnectionSailExceptionpublic boolean addInferredStatement(Resource subj, IRI pred, Value obj, Resource... contexts) throws SailException
InferencerConnectionaddInferredStatement in interface InferencerConnectionaddInferredStatement in class SailSourceConnectionsubj - The subject of the statement to add.pred - The predicate of the statement to add.obj - The object of the statement to add.contexts - The context(s) to add the statement to. 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 statement could not be added.protected void removeStatementsInternal(Resource subj, IRI pred, Value obj, Resource... contexts) throws SailException
removeStatementsInternal in class AbstractSailConnectionSailExceptionpublic boolean removeInferredStatement(Resource subj, IRI pred, Value obj, Resource... contexts) throws SailException
InferencerConnectionremoveInferredStatement in interface InferencerConnectionremoveInferredStatement in class SailSourceConnectionsubj - The subject of the statement that should be removed.pred - The predicate of the statement that should be removed.obj - The object of the statement that should be removed.contexts - 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 statement could not be removed.protected void clearInternal(Resource... contexts) throws SailException
clearInternal in class SailSourceConnectionSailExceptionpublic void clearInferred(Resource... contexts) throws SailException
InferencerConnectionclearInferred in interface InferencerConnectionclearInferred in class SailSourceConnectioncontexts - 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.Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.