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

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

public class MultiProjectionIterator
extends LookAheadIteration<BindingSet,QueryEvaluationException>

Author:
Arjohn Kampman, James Leigh

Constructor Summary
MultiProjectionIterator(MultiProjection multiProjection, CloseableIteration<BindingSet,QueryEvaluationException> iter, BindingSet bindings)
           
 
Method Summary
protected  BindingSet getNextElement()
           
protected  void handleClose()
           
 
Methods inherited from class info.aduna.iteration.LookAheadIteration
hasNext, next, remove
 
Methods inherited from class info.aduna.iteration.CloseableIterationBase
close, isClosed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiProjectionIterator

public MultiProjectionIterator(MultiProjection multiProjection,
                               CloseableIteration<BindingSet,QueryEvaluationException> iter,
                               BindingSet bindings)
Method Detail

getNextElement

protected BindingSet getNextElement()
                             throws QueryEvaluationException
Specified by:
getNextElement in class LookAheadIteration<BindingSet,QueryEvaluationException>
Throws:
QueryEvaluationException

handleClose

protected void handleClose()
                    throws QueryEvaluationException
Overrides:
handleClose in class LookAheadIteration<BindingSet,QueryEvaluationException>
Throws:
QueryEvaluationException


Copyright © 2001-2010 Aduna. All Rights Reserved.