Package org.eclipse.rdf4j.common.iteration
package org.eclipse.rdf4j.common.iteration
-
ClassDescriptionBase class for
CloseableIteration
s offering common functionality.An Iteration that can convert anIterator
to aCloseableIteration
.AnCloseableIteration
that can be closed to free resources that it is holding.An Iteration that can convert anIterator
to aCloseableIteration
.ConvertingIteration<S,T> 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).An iteration that delays the creation of the underlying iteration until it is being accessed.An Iteration that filters any duplicate elements from an underlying iterator.Provides a bag union of the two provided iterations.An iterator that does not contain any elements.ExceptionConvertingIteration<E,X extends RuntimeException> Deprecated.A CloseableIteration that wraps another Iteration, applying a filter on the objects that are returned.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.Deprecated.An Iteration that limits the amount of elements that it returns from an underlying Iteration to a fixed amount.An Iteration that looks one element ahead, if necessary, to handle calls toLookAheadIteration.hasNext()
.An Iteration that returns the results of an Iteration (the left argument) minus the results of another Iteration (the right argument).An Iteration that skips the first offset elements from an underlying Iteration.QueueIteration<E,T extends RuntimeException> 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)
.Removes consecutive duplicates from the object stream.AnIterationWrapper
that silently ignores any errors that occur during processing.An Iteration that contains exactly one element.An Iteration that returns the bag union of the results of a number of Iterations.