org.openrdf.query.algebra.evaluation.iterator
Class OrderIterator

java.lang.Object
  extended by info.aduna.iteration.CloseableIterationBase<BindingSet,QueryEvaluationException>
      extended by org.openrdf.query.algebra.evaluation.iterator.OrderIterator
All Implemented Interfaces:
CloseableIteration<BindingSet,QueryEvaluationException>, Iteration<BindingSet,QueryEvaluationException>

public class OrderIterator
extends CloseableIterationBase<BindingSet,QueryEvaluationException>

Author:
james

Constructor Summary
OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter, Comparator<BindingSet> comparator)
           
 
Method Summary
 boolean hasNext()
           
 BindingSet next()
           
 void remove()
           
 
Methods inherited from class info.aduna.iteration.CloseableIterationBase
close, handleClose, isClosed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderIterator

public OrderIterator(CloseableIteration<BindingSet,QueryEvaluationException> iter,
                     Comparator<BindingSet> comparator)
Method Detail

hasNext

public boolean hasNext()
                throws QueryEvaluationException
Throws:
QueryEvaluationException

next

public BindingSet next()
                throws QueryEvaluationException
Throws:
QueryEvaluationException

remove

public void remove()
            throws QueryEvaluationException
Throws:
QueryEvaluationException


Copyright © 2001-2008 Aduna. All Rights Reserved.