Class SailCloseableIteration<E>
- java.lang.Object
-
- org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E,X>
-
- org.eclipse.rdf4j.common.iteration.ExceptionConvertingIteration<E,RepositoryException>
-
- org.eclipse.rdf4j.repository.sail.SailCloseableIteration<E>
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,CloseableIteration<E,RepositoryException>
,Iteration<E,RepositoryException>
class SailCloseableIteration<E> extends ExceptionConvertingIteration<E,RepositoryException>
-
-
Constructor Summary
Constructors Constructor Description SailCloseableIteration(CloseableIteration<? extends E,? extends SailException> iter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RepositoryException
convert(java.lang.Exception e)
Converts an exception from the underlying iteration to an exception of type X.-
Methods inherited from class org.eclipse.rdf4j.common.iteration.ExceptionConvertingIteration
handleClose, hasNext, next, remove
-
Methods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration
close, isClosed
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
stream
-
-
-
-
Constructor Detail
-
SailCloseableIteration
public SailCloseableIteration(CloseableIteration<? extends E,? extends SailException> iter)
-
-
Method Detail
-
convert
protected RepositoryException convert(java.lang.Exception e)
Description copied from class:ExceptionConvertingIteration
Converts an exception from the underlying iteration to an exception of type X.- Specified by:
convert
in classExceptionConvertingIteration<E,RepositoryException>
-
-