public class OrderIterator extends DelayedIteration<BindingSet,QueryEvaluationException>
| Constructor and Description | 
|---|
| OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter,
             Comparator<BindingSet> comparator) | 
| OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter,
             Comparator<BindingSet> comparator,
             long limit,
             boolean distinct) | 
| OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter,
             Comparator<BindingSet> comparator,
             long limit,
             boolean distinct,
             long iterationSyncThreshold) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Iteration<BindingSet,QueryEvaluationException> | createIteration()Creates the iteration that should be iterated over. | 
| protected void | decrement(int amount) | 
| protected void | handleClose()Closes this iteration as well as the underlying iteration if it has already been created and happens to be a
  CloseableIteration. | 
| protected void | increment() | 
| void | remove()Calls the remove method of the underlying iteration. | 
hasNext, nextclose, isClosedpublic OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter, Comparator<BindingSet> comparator)
public OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter, Comparator<BindingSet> comparator, long limit, boolean distinct)
public OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter, Comparator<BindingSet> comparator, long limit, boolean distinct, long iterationSyncThreshold)
protected Iteration<BindingSet,QueryEvaluationException> createIteration() throws QueryEvaluationException
DelayedIterationcreateIteration in class DelayedIteration<BindingSet,QueryEvaluationException>QueryEvaluationExceptionprotected void increment()
                  throws QueryEvaluationException
QueryEvaluationExceptionprotected void decrement(int amount)
                  throws QueryEvaluationException
QueryEvaluationExceptionpublic void remove()
            throws QueryEvaluationException
DelayedIterationremove in interface Iteration<BindingSet,QueryEvaluationException>remove in class DelayedIteration<BindingSet,QueryEvaluationException>QueryEvaluationExceptionprotected void handleClose()
                    throws QueryEvaluationException
DelayedIterationCloseableIteration.handleClose in class DelayedIteration<BindingSet,QueryEvaluationException>QueryEvaluationExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.