Class OffsetIteration<E, X extends Exception>
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E,X>
org.eclipse.rdf4j.common.iteration.IterationWrapper<E,X>
org.eclipse.rdf4j.common.iteration.FilterIteration<E,X>
org.eclipse.rdf4j.common.iteration.OffsetIteration<E,X>
- All Implemented Interfaces:
AutoCloseable, CloseableIteration<E,X>, Iteration<E, X>
@Deprecated(since="4.1.0")
public class OffsetIteration<E, X extends Exception>
extends FilterIteration<E,X>
Deprecated.
An Iteration that skips the first offset elements from an underlying Iteration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longDeprecated.The number of elements that have been dropped so far.private final longDeprecated.The offset (0-based) of the first element to return.Fields inherited from class IterationWrapper
wrappedIter -
Constructor Summary
ConstructorsConstructorDescriptionOffsetIteration(Iteration<? extends E, X> iter, long offset) Deprecated.Creates a new OffsetIteration. -
Method Summary
Methods inherited from class FilterIteration
handleClose, hasNext, nextMethods inherited from class IterationWrapper
removeMethods inherited from class AbstractCloseableIteration
close, isClosedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseableIteration
stream
-
Field Details
-
offset
private final long offsetDeprecated.The offset (0-based) of the first element to return. -
droppedResults
private long droppedResultsDeprecated.The number of elements that have been dropped so far.
-
-
Constructor Details
-
OffsetIteration
-
-
Method Details
-
accept
-