| java.lang.Object org.openrdf.sail.helpers.SailConnectionWrapper
All known Subclasses: org.openrdf.sail.inferencer.InferencerConnectionWrapper,
SailConnectionWrapper | public class SailConnectionWrapper implements SailConnection(Code) | | An implementation of the Transaction interface that wraps another Transaction
object and forwards any method calls to the wrapped transaction.
author: jeen |
Method Summary | |
public void | addConnectionListener(SailConnectionListener listener) | public void | addStatement(Resource subj, URI pred, Value obj, Resource... contexts) | public void | clear(Resource... contexts) | public void | clearNamespaces() | public void | close() | public void | commit() | public CloseableIteration<? extends BindingSet, QueryEvaluationException> | evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) | public CloseableIteration<? extends Resource, SailException> | getContextIDs() | public String | getNamespace(String prefix) | public CloseableIteration<? extends Namespace, SailException> | getNamespaces() | public CloseableIteration<? extends Statement, SailException> | getStatements(Resource subj, URI pred, Value obj, boolean includeInferred, Resource... contexts) | protected SailConnection | getWrappedConnection() Gets the Connection that is wrapped by this object. | public boolean | isOpen() | public void | removeConnectionListener(SailConnectionListener listener) | public void | removeNamespace(String prefix) | public void | removeStatements(Resource subj, URI pred, Value obj, Resource... contexts) | public void | rollback() | public void | setNamespace(String prefix, String name) | public long | size(Resource... contexts) | public long | size(Resource context) |
SailConnectionWrapper | public SailConnectionWrapper(SailConnection wrappedCon)(Code) | | Creates a new TransactionWrapper object that wraps the supplied
connection.
|
getWrappedConnection | protected SailConnection getWrappedConnection()(Code) | | Gets the Connection that is wrapped by this object.
The SailConnection object that was supplied to the constructor ofthis class. |
|
|