org.openrdf.sail.optimistic.helpers
Class StatementBindingSetCursor

java.lang.Object
  extended by info.aduna.iteration.CloseableIterationBase<T,X>
      extended by info.aduna.iteration.ConvertingIteration<Statement,BindingSet,QueryEvaluationException>
          extended by org.openrdf.sail.optimistic.helpers.StatementBindingSetCursor
All Implemented Interfaces:
CloseableIteration<BindingSet,QueryEvaluationException>, Iteration<BindingSet,QueryEvaluationException>

public class StatementBindingSetCursor
extends ConvertingIteration<Statement,BindingSet,QueryEvaluationException>

Converts a statement cursor into a binding cursor.

Author:
James Leigh

Constructor Summary
StatementBindingSetCursor(Iteration<? extends Statement,? extends QueryEvaluationException> iter, StatementPattern sp, BindingSet bindings)
           
 
Method Summary
protected  BindingSet convert(Statement st)
           
 
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

StatementBindingSetCursor

public StatementBindingSetCursor(Iteration<? extends Statement,? extends QueryEvaluationException> iter,
                                 StatementPattern sp,
                                 BindingSet bindings)
Method Detail

convert

protected BindingSet convert(Statement st)
Specified by:
convert in class ConvertingIteration<Statement,BindingSet,QueryEvaluationException>


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.