Package org.eclipse.rdf4j.common.iteration
package org.eclipse.rdf4j.common.iteration

InterfaceDescriptionCloseableIteration<E,X extends Exception>An
Iteration
that can be closed to free resources that it is holding.An Iteration is a typed Iteratorlike object that can throw (typed) Exceptions while iterating. 
ClassDescriptionAbstractCloseableIteration<E,X extends Exception>Base class for
CloseableIteration
s offering common functionality.CloseableIteratorIteration<E,X extends Exception>An Iteration that can convert anIterator
to aCloseableIteration
.ConvertingIteration<S,T,X extends Exception>A CloseableIteration that converts an iteration over objects of type S (the source type) to an iteration over objects of type T (the target type).DelayedIteration<E,X extends Exception>An iteration that delays the creation of the underlying iteration until it is being accessed.DistinctIteration<E,X extends Exception>An Iteration that filters any duplicate elements from an underlying iterator.EmptyIteration<E,X extends Exception>An iterator that does not contain any elements.ExceptionConvertingIteration<E,X extends Exception>A CloseableIteration that converts an arbitrary iteration to an iteration with exceptions of type X.FilterIteration<E,X extends Exception>A CloseableIteration that wraps another Iteration, applying a filter on the objects that are returned.IntersectIteration<E,X extends Exception>An Iteration that returns the intersection of the results of two Iterations.This class consists exclusively of static methods that operate on or return Iterations.ASpliterator
implementation that wraps anIteration
.IterationWrapper<E,X extends Exception>Abstract superclass for Iterations that wrap other Iterations.IteratorIteration<E,X extends Exception>LimitIteration<E,X extends Exception>An Iteration that limits the amount of elements that it returns from an underlying Iteration to a fixed amount.LookAheadIteration<E,X extends Exception>An Iteration that looks one element ahead, if necessary, to handle calls toLookAheadIteration.hasNext()
.MinusIteration<E,X extends Exception>An Iteration that returns the results of an Iteration (the left argument) minus the results of another Iteration (the right argument).OffsetIteration<E,X extends Exception>An Iteration that skips the first offset elements from an underlying Iteration.QueueIteration<E,T extends Exception>Makes working with a queue easier by adding the methodsQueueIteration.done()
andQueueIteration.toss(Exception)
and after converting the Exception to the required type usingQueueIteration.convert(Exception)
.ReducedIteration<E,X extends Exception>Removes consecutive duplicates from the object stream.SilentIteration<T,E extends Exception>AnIterationWrapper
that silently ignores any errors that occur during processing.SingletonIteration<E,X extends Exception>An Iteration that contains exactly one element.TimeLimitIteration<E,X extends Exception>UnionIteration<E,X extends Exception>An Iteration that returns the bag union of the results of a number of Iterations.