| java.lang.Object org.openrdf.sail.helpers.SailConnectionBase
All known Subclasses: org.openrdf.sail.nativerdf.NativeStoreConnection, org.openrdf.sail.memory.MemoryStoreConnection, org.openrdf.sail.rdbms.RdbmsConnection,
SailConnectionBase | abstract public class SailConnectionBase implements SailConnection(Code) | | Abstract Class offering base functionality for SailConnection
implementations.
author: Arjohn Kampman author: jeen |
Field Summary | |
final protected Logger | logger |
Method Summary | |
public void | addConnectionListener(SailConnectionListener listener) | final public void | addStatement(Resource subj, URI pred, Value obj, Resource... contexts) | abstract protected void | addStatementInternal(Resource subj, URI pred, Value obj, Resource... contexts) | protected void | autoStartTransaction() | final public void | clear(Resource... contexts) | abstract protected void | clearInternal(Resource... contexts) | final public void | clearNamespaces() | abstract protected void | clearNamespacesInternal() | final public void | close() | abstract protected void | closeInternal() | final public void | commit() | abstract protected void | commitInternal() | final public CloseableIteration<? extends BindingSet, QueryEvaluationException> | evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) | abstract protected CloseableIteration<? extends BindingSet, QueryEvaluationException> | evaluateInternal(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) | final public CloseableIteration<? extends Resource, SailException> | getContextIDs() | abstract protected CloseableIteration<? extends Resource, SailException> | getContextIDsInternal() | protected Lock | getExclusiveConnectionLock() | final public String | getNamespace(String prefix) | abstract protected String | getNamespaceInternal(String prefix) | final public CloseableIteration<? extends Namespace, SailException> | getNamespaces() | abstract protected CloseableIteration<? extends Namespace, SailException> | getNamespacesInternal() | protected Lock | getSharedConnectionLock() | final public CloseableIteration<? extends Statement, SailException> | getStatements(Resource subj, URI pred, Value obj, boolean includeInferred, Resource... contexts) | abstract protected CloseableIteration<? extends Statement, SailException> | getStatementsInternal(Resource subj, URI pred, Value obj, boolean includeInferred, Resource... contexts) | protected Lock | getTransactionLock() | protected boolean | hasConnectionListeners() | final public boolean | isOpen() | protected void | iterationClosed(SailBaseIteration iter) Called by
SailBaseIteration to indicate that it has been closed. | protected void | notifyStatementAdded(Statement st) | protected void | notifyStatementRemoved(Statement st) | protected CloseableIteration<T, E> | registerIteration(CloseableIteration<T, E> iter) Registers an iteration as active by wrapping it in a
SailBaseIteration object and adding it to the list of active
iterations. | public void | removeConnectionListener(SailConnectionListener listener) | final public void | removeNamespace(String prefix) | abstract protected void | removeNamespaceInternal(String prefix) | final public void | removeStatements(Resource subj, URI pred, Value obj, Resource... contexts) | abstract protected void | removeStatementsInternal(Resource subj, URI pred, Value obj, Resource... contexts) | final public void | rollback() | abstract protected void | rollbackInternal() | final public void | setNamespace(String prefix, String name) | abstract protected void | setNamespaceInternal(String prefix, String name) | final public long | size(Resource... contexts) | abstract protected long | sizeInternal(Resource... contexts) | abstract protected void | startTransactionInternal() | final protected boolean | transactionActive() | protected void | verifyIsOpen() |
logger | final protected Logger logger(Code) | | |
clearNamespacesInternal | abstract protected void clearNamespacesInternal() throws SailException(Code) | | |
getExclusiveConnectionLock | protected Lock getExclusiveConnectionLock() throws SailException(Code) | | |
hasConnectionListeners | protected boolean hasConnectionListeners()(Code) | | |
notifyStatementAdded | protected void notifyStatementAdded(Statement st)(Code) | | |
notifyStatementRemoved | protected void notifyStatementRemoved(Statement st)(Code) | | |
registerIteration | protected CloseableIteration<T, E> registerIteration(CloseableIteration<T, E> iter)(Code) | | Registers an iteration as active by wrapping it in a
SailBaseIteration object and adding it to the list of active
iterations.
|
startTransactionInternal | abstract protected void startTransactionInternal() throws SailException(Code) | | |
transactionActive | final protected boolean transactionActive()(Code) | | |
|
|