virtuoso.sesame2.driver
Class VirtuosoRepositoryConnection.CloseableIterationBase<E,X extends java.lang.Exception>
java.lang.Object
virtuoso.sesame2.driver.VirtuosoRepositoryConnection.CloseableIterationBase<E,X>
- All Implemented Interfaces:
- info.aduna.iteration.CloseableIteration<E,X>, info.aduna.iteration.Iteration<E,X>
- Direct Known Subclasses:
- VirtuosoRepositoryConnection.CloseableIterationBindingSet, VirtuosoRepositoryConnection.CloseableIterationGraphResult, VirtuosoRepositoryConnection.CloseableIterationStmt
- Enclosing class:
- VirtuosoRepositoryConnection
public abstract class VirtuosoRepositoryConnection.CloseableIterationBase<E,X extends java.lang.Exception>
- extends java.lang.Object
- implements info.aduna.iteration.CloseableIteration<E,X>
protected void verifyTxnActive()
throws StoreException
{
if (isAutoCommit()) {
throw new RepositoryException("Connection does not have an active transaction");
}
}
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtuosoRepositoryConnection.CloseableIterationBase
public VirtuosoRepositoryConnection.CloseableIterationBase(java.sql.Statement stmt,
java.sql.ResultSet rs,
org.openrdf.model.Resource subject,
org.openrdf.model.URI predicate,
org.openrdf.model.Value object)
hasNext
public boolean hasNext()
throws X extends java.lang.Exception
- Specified by:
hasNext
in interface info.aduna.iteration.Iteration<E,X extends java.lang.Exception>
- Throws:
X extends java.lang.Exception
next
public E next()
throws X extends java.lang.Exception
- Specified by:
next
in interface info.aduna.iteration.Iteration<E,X extends java.lang.Exception>
- Throws:
X extends java.lang.Exception
remove
public void remove()
throws X extends java.lang.Exception
- Specified by:
remove
in interface info.aduna.iteration.Iteration<E,X extends java.lang.Exception>
- Throws:
X extends java.lang.Exception
close
public void close()
throws X extends java.lang.Exception
- Specified by:
close
in interface info.aduna.iteration.CloseableIteration<E,X extends java.lang.Exception>
- Throws:
X extends java.lang.Exception