Class OrderIterator
- java.lang.Object
-
- org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E,X>
-
- org.eclipse.rdf4j.common.iteration.DelayedIteration<BindingSet,QueryEvaluationException>
-
- org.eclipse.rdf4j.query.algebra.evaluation.iterator.OrderIterator
-
- All Implemented Interfaces:
AutoCloseable,CloseableIteration<BindingSet,QueryEvaluationException>,Iteration<BindingSet,QueryEvaluationException>
@Deprecated(since="4.1.0") public class OrderIterator extends DelayedIteration<BindingSet,QueryEvaluationException>
Deprecated.Sorts the input and optionally applies limit and distinct.- Author:
- James Leigh, Arjohn Kampman
-
-
Constructor Summary
Constructors Constructor Description OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter, Comparator<BindingSet> comparator)Deprecated.OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter, Comparator<BindingSet> comparator, long limit, boolean distinct)Deprecated.OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter, Comparator<BindingSet> comparator, long limit, boolean distinct, long iterationSyncThreshold)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Iteration<BindingSet,QueryEvaluationException>createIteration()Deprecated.protected voiddecrement(int amount)Deprecated.protected voidhandleClose()Deprecated.protected voidincrement()Deprecated.voidremove()Deprecated.-
Methods inherited from class org.eclipse.rdf4j.common.iteration.DelayedIteration
hasNext, next
-
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
-
OrderIterator
public OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter, Comparator<BindingSet> comparator)
Deprecated.
-
OrderIterator
public OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter, Comparator<BindingSet> comparator, long limit, boolean distinct)
Deprecated.
-
OrderIterator
public OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter, Comparator<BindingSet> comparator, long limit, boolean distinct, long iterationSyncThreshold)
Deprecated.
-
-
Method Detail
-
createIteration
protected Iteration<BindingSet,QueryEvaluationException> createIteration() throws QueryEvaluationException
Deprecated.- Specified by:
createIterationin classDelayedIteration<BindingSet,QueryEvaluationException>- Throws:
QueryEvaluationException
-
increment
protected void increment() throws QueryEvaluationExceptionDeprecated.- Throws:
QueryEvaluationException
-
decrement
protected void decrement(int amount) throws QueryEvaluationExceptionDeprecated.- Throws:
QueryEvaluationException
-
remove
public void remove() throws QueryEvaluationExceptionDeprecated.- Specified by:
removein interfaceIteration<BindingSet,QueryEvaluationException>- Overrides:
removein classDelayedIteration<BindingSet,QueryEvaluationException>- Throws:
QueryEvaluationException
-
handleClose
protected void handleClose() throws QueryEvaluationExceptionDeprecated.- Overrides:
handleClosein classDelayedIteration<BindingSet,QueryEvaluationException>- Throws:
QueryEvaluationException
-
-