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

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

public class ProjectionIterator
extends ConvertingIteration<BindingSet,BindingSet,QueryEvaluationException>


Constructor Summary
ProjectionIterator(Projection projection, CloseableIteration<BindingSet,QueryEvaluationException> iter, BindingSet parentBindings)
           
 
Method Summary
protected  BindingSet convert(BindingSet sourceBindings)
           
static BindingSet project(ProjectionElemList projElemList, BindingSet sourceBindings, BindingSet parentBindings)
           
 
Methods inherited from class info.aduna.iteration.ConvertingIteration
handleClose, 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

ProjectionIterator

public ProjectionIterator(Projection projection,
                          CloseableIteration<BindingSet,QueryEvaluationException> iter,
                          BindingSet parentBindings)
                   throws QueryEvaluationException
Throws:
QueryEvaluationException
Method Detail

convert

protected BindingSet convert(BindingSet sourceBindings)
                      throws QueryEvaluationException
Specified by:
convert in class ConvertingIteration<BindingSet,BindingSet,QueryEvaluationException>
Throws:
QueryEvaluationException

project

public static BindingSet project(ProjectionElemList projElemList,
                                 BindingSet sourceBindings,
                                 BindingSet parentBindings)


Copyright © 2001-2010 Aduna. All Rights Reserved.