net.fortytwo.sesametools.reposail
Class RepositorySailConnection
java.lang.Object
org.openrdf.sail.helpers.SailConnectionBase
net.fortytwo.sesametools.reposail.RepositorySailConnection
- All Implemented Interfaces:
- org.openrdf.sail.SailConnection
public class RepositorySailConnection
- extends org.openrdf.sail.helpers.SailConnectionBase
- Author:
- Joshua Shinavier (http://fortytwo.net).
| Fields inherited from class org.openrdf.sail.helpers.SailConnectionBase |
connectionLock, logger, updateLock |
|
Constructor Summary |
RepositorySailConnection(org.openrdf.sail.helpers.SailBase sail,
org.openrdf.repository.RepositoryConnection repoConnection,
boolean inferenceDisabled,
org.openrdf.model.ValueFactory valueFactory)
|
|
Method Summary |
protected void |
addStatementInternal(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.Resource... contexts)
|
protected void |
clearInternal(org.openrdf.model.Resource... contexts)
|
protected void |
clearNamespacesInternal()
|
protected void |
closeInternal()
|
protected void |
commitInternal()
|
protected info.aduna.iteration.CloseableIteration<? extends org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> |
evaluateInternal(org.openrdf.query.algebra.TupleExpr query,
org.openrdf.query.Dataset dataset,
org.openrdf.query.BindingSet bindings,
boolean includeInferred)
|
protected info.aduna.iteration.CloseableIteration<? extends org.openrdf.model.Resource,org.openrdf.sail.SailException> |
getContextIDsInternal()
|
protected String |
getNamespaceInternal(String prefix)
|
protected info.aduna.iteration.CloseableIteration<? extends org.openrdf.model.Namespace,org.openrdf.sail.SailException> |
getNamespacesInternal()
|
protected info.aduna.iteration.CloseableIteration<? extends org.openrdf.model.Statement,org.openrdf.sail.SailException> |
getStatementsInternal(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
boolean includeInferred,
org.openrdf.model.Resource... contexts)
|
protected void |
removeNamespaceInternal(String prefix)
|
protected void |
removeStatementsInternal(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.Resource... contexts)
|
protected void |
rollbackInternal()
|
protected void |
setNamespaceInternal(String prefix,
String name)
|
protected long |
sizeInternal(org.openrdf.model.Resource... contexts)
|
protected void |
startTransactionInternal()
|
| Methods inherited from class org.openrdf.sail.helpers.SailConnectionBase |
addStatement, addStatement, autoStartTransaction, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, finalize, getContextIDs, getExclusiveConnectionLock, getNamespace, getNamespaces, getSharedConnectionLock, getStatements, getTransactionLock, isActive, isOpen, iterationClosed, prepare, registerIteration, removeNamespace, removeStatement, removeStatements, rollback, setNamespace, size, startUpdate, transactionActive, verifyIsActive, verifyIsOpen |
RepositorySailConnection
public RepositorySailConnection(org.openrdf.sail.helpers.SailBase sail,
org.openrdf.repository.RepositoryConnection repoConnection,
boolean inferenceDisabled,
org.openrdf.model.ValueFactory valueFactory)
addStatementInternal
protected void addStatementInternal(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.Resource... contexts)
throws org.openrdf.sail.SailException
- Specified by:
addStatementInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
clearInternal
protected void clearInternal(org.openrdf.model.Resource... contexts)
throws org.openrdf.sail.SailException
- Specified by:
clearInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
clearNamespacesInternal
protected void clearNamespacesInternal()
throws org.openrdf.sail.SailException
- Specified by:
clearNamespacesInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
closeInternal
protected void closeInternal()
throws org.openrdf.sail.SailException
- Specified by:
closeInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
commitInternal
protected void commitInternal()
throws org.openrdf.sail.SailException
- Specified by:
commitInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
evaluateInternal
protected info.aduna.iteration.CloseableIteration<? extends org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> evaluateInternal(org.openrdf.query.algebra.TupleExpr query,
org.openrdf.query.Dataset dataset,
org.openrdf.query.BindingSet bindings,
boolean includeInferred)
throws org.openrdf.sail.SailException
- Specified by:
evaluateInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
getContextIDsInternal
protected info.aduna.iteration.CloseableIteration<? extends org.openrdf.model.Resource,org.openrdf.sail.SailException> getContextIDsInternal()
throws org.openrdf.sail.SailException
- Specified by:
getContextIDsInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
getNamespaceInternal
protected String getNamespaceInternal(String prefix)
throws org.openrdf.sail.SailException
- Specified by:
getNamespaceInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
getNamespacesInternal
protected info.aduna.iteration.CloseableIteration<? extends org.openrdf.model.Namespace,org.openrdf.sail.SailException> getNamespacesInternal()
throws org.openrdf.sail.SailException
- Specified by:
getNamespacesInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
getStatementsInternal
protected info.aduna.iteration.CloseableIteration<? extends org.openrdf.model.Statement,org.openrdf.sail.SailException> getStatementsInternal(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
boolean includeInferred,
org.openrdf.model.Resource... contexts)
throws org.openrdf.sail.SailException
- Specified by:
getStatementsInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
removeNamespaceInternal
protected void removeNamespaceInternal(String prefix)
throws org.openrdf.sail.SailException
- Specified by:
removeNamespaceInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
removeStatementsInternal
protected void removeStatementsInternal(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.Resource... contexts)
throws org.openrdf.sail.SailException
- Specified by:
removeStatementsInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
rollbackInternal
protected void rollbackInternal()
throws org.openrdf.sail.SailException
- Specified by:
rollbackInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
setNamespaceInternal
protected void setNamespaceInternal(String prefix,
String name)
throws org.openrdf.sail.SailException
- Specified by:
setNamespaceInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
sizeInternal
protected long sizeInternal(org.openrdf.model.Resource... contexts)
throws org.openrdf.sail.SailException
- Specified by:
sizeInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
startTransactionInternal
protected void startTransactionInternal()
throws org.openrdf.sail.SailException
- Specified by:
startTransactionInternal in class org.openrdf.sail.helpers.SailConnectionBase
- Throws:
org.openrdf.sail.SailException
Copyright © 2014. All Rights Reserved.