private void beginLocalTransaction() throws SailException { getSailConnection().begin(); }
private void commitLocalTransaction() throws SailException { getSailConnection().commit(); } }
private boolean isLocalTransaction() throws SailException { return !getSailConnection().isActive(); }
@Override public void close() throws SailException { wrappedCon.close(); }
@Override public CloseableIteration<? extends BindingSet, QueryEvaluationException> evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) throws SailException { return wrappedCon.evaluate(tupleExpr, dataset, bindings, includeInferred); }
/** * @deprecated since 4.0. Use {@link #removeStatements(Resource, IRI, Value, Resource...)} instead. */ default void removeStatements(Resource subj, URI pred, Value obj, Resource... contexts) throws SailException { removeStatements(subj, (IRI)pred, obj, contexts); }
@Override public void rollback() throws SailException { wrappedCon.rollback(); }
@Override public void removeNamespace(String prefix) throws SailException { wrappedCon.removeNamespace(prefix); }
@Override public long size(Resource... contexts) throws SailException { return wrappedCon.size(contexts); }
@Override public void setNamespace(String prefix, String name) throws SailException { wrappedCon.setNamespace(prefix, name); }
@Override public void endUpdate(UpdateContext modify) throws SailException { wrappedCon.endUpdate(modify); }
@Override public void startUpdate(UpdateContext modify) throws SailException { wrappedCon.startUpdate(modify); }
@Override public void prepare() throws SailException { wrappedCon.prepare(); }
@Override public void flush() throws SailException { wrappedCon.flush(); }
protected void notifyStatementRemoved(Statement st) { synchronized (listeners) { for (SailConnectionListener listener : listeners) { listener.statementRemoved(st); } } } }
/** * Notifies all registered SailChangedListener's of changes to the contents of this Sail. */ public void notifySailChanged(SailChangedEvent event) { synchronized (sailChangedListeners) { for (SailChangedListener l : sailChangedListeners) { l.sailChanged(event); } } } }
private void beginLocalTransaction() throws SailException { getSailConnection().begin(); }
private void commitLocalTransaction() throws SailException { getSailConnection().commit(); } }
private boolean isLocalTransaction() throws SailException { return !getSailConnection().isActive(); }
@Override public void endUpdate(UpdateContext modify) throws SailException { wrappedCon.endUpdate(modify); }