public abstract class SailSourceConnection extends NotifyingSailConnectionBase implements InferencerConnection, FederatedServiceResolverClient
SailConnection implementation that is based on an SailStore.connectionLock, logger, updateLock| Modifier | Constructor and Description |
|---|---|
protected |
SailSourceConnection(SailBase sail,
SailStore store,
FederatedServiceResolver resolver)
Creates a new
SailConnection, using the given SailStore to
manage the state. |
addConnectionListener, hasConnectionListeners, notifyStatementAdded, notifyStatementRemoved, removeConnectionListeneraddStatement, addStatementInternal, autoStartTransaction, begin, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, flush, getContextIDs, getExclusiveConnectionLock, getNamespace, getNamespaces, getSharedConnectionLock, getStatements, getTransactionIsolation, getTransactionLock, isActive, isActiveOperation, isOpen, iterationClosed, prepare, registerIteration, removeNamespace, removeStatements, removeStatementsInternal, rollback, setNamespace, size, transactionActive, verifyIsActive, verifyIsOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddConnectionListener, removeConnectionListeneraddStatement, begin, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, flush, getContextIDs, getNamespace, getNamespaces, getStatements, isActive, isOpen, prepare, removeNamespace, removeStatements, rollback, setNamespace, sizeprotected SailSourceConnection(SailBase sail, SailStore store, FederatedServiceResolver resolver)
SailConnection, using the given SailStore to
manage the state.sail - store - resolver - public FederatedServiceResolver getFederatedServiceResolver()
public void setFederatedServiceResolver(FederatedServiceResolver resolver)
setFederatedServiceResolver in interface FederatedServiceResolverClientprotected EvaluationStrategy getEvaluationStrategy(Dataset dataset, TripleSource tripleSource)
protected CloseableIteration<? extends BindingSet,QueryEvaluationException> evaluateInternal(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) throws SailException
evaluateInternal in class SailConnectionBaseSailExceptionprotected void closeInternal()
throws SailException
closeInternal in class SailConnectionBaseSailExceptionprotected CloseableIteration<? extends Resource,SailException> getContextIDsInternal() throws SailException
getContextIDsInternal in class SailConnectionBaseSailExceptionprotected CloseableIteration<? extends Statement,SailException> getStatementsInternal(Resource subj, URI pred, Value obj, boolean includeInferred, Resource... contexts) throws SailException
getStatementsInternal in class SailConnectionBaseSailExceptionprotected long sizeInternal(Resource... contexts) throws SailException
sizeInternal in class SailConnectionBaseSailExceptionprotected CloseableIteration<? extends Namespace,SailException> getNamespacesInternal() throws SailException
getNamespacesInternal in class SailConnectionBaseSailExceptionprotected String getNamespaceInternal(String prefix) throws SailException
getNamespaceInternal in class SailConnectionBaseSailExceptionprotected void startTransactionInternal()
throws SailException
startTransactionInternal in class SailConnectionBaseSailExceptionprotected void prepareInternal()
throws SailException
prepareInternal in class SailConnectionBaseSailExceptionprotected void commitInternal()
throws SailException
commitInternal in class SailConnectionBaseSailExceptionprotected void rollbackInternal()
throws SailException
rollbackInternal in class SailConnectionBaseSailExceptionpublic void startUpdate(UpdateContext op) throws SailException
startUpdate in interface SailConnectionstartUpdate in class SailConnectionBaseSailExceptionpublic void addStatement(UpdateContext op, Resource subj, URI pred, Value obj, Resource... contexts) throws SailException
addStatement in interface SailConnectionaddStatement in class SailConnectionBaseSailExceptionpublic void removeStatement(UpdateContext op, Resource subj, URI pred, Value obj, Resource... contexts) throws SailException
removeStatement in interface SailConnectionremoveStatement in class SailConnectionBaseSailExceptionprotected void endUpdateInternal(UpdateContext op) throws SailException
endUpdateInternal in class SailConnectionBaseSailExceptionpublic boolean addInferredStatement(Resource subj, URI pred, Value obj, Resource... contexts) throws SailException
addInferredStatement in interface InferencerConnectionSailExceptionpublic boolean removeInferredStatement(Resource subj, URI pred, Value obj, Resource... contexts) throws SailException
removeInferredStatement in interface InferencerConnectionSailExceptionprotected void clearInternal(Resource... contexts) throws SailException
clearInternal in class SailConnectionBaseSailExceptionpublic void clearInferred(Resource... contexts) throws SailException
clearInferred in interface InferencerConnectionSailExceptionpublic void flushUpdates()
throws SailException
flushUpdates in interface InferencerConnectionSailExceptionprotected void setNamespaceInternal(String prefix, String name) throws SailException
setNamespaceInternal in class SailConnectionBaseSailExceptionprotected void removeNamespaceInternal(String prefix) throws SailException
removeNamespaceInternal in class SailConnectionBaseSailExceptionprotected void clearNamespacesInternal()
throws SailException
clearNamespacesInternal in class SailConnectionBaseSailExceptionCopyright © 2001-2015 Aduna. All Rights Reserved.