org.openrdf.repository.sparql.query
Class InsertBindingSetCursor

java.lang.Object
  extended by info.aduna.iteration.CloseableIterationBase<E,X>
      extended by info.aduna.iteration.IterationWrapper<BindingSet,QueryEvaluationException>
          extended by org.openrdf.repository.sparql.query.InsertBindingSetCursor
All Implemented Interfaces:
CloseableIteration<BindingSet,QueryEvaluationException>, Iteration<BindingSet,QueryEvaluationException>

public class InsertBindingSetCursor
extends IterationWrapper<BindingSet,QueryEvaluationException>

Adds more bindings to each of the results.

Author:
James Leigh

Field Summary
 
Fields inherited from class info.aduna.iteration.IterationWrapper
wrappedIter
 
Constructor Summary
InsertBindingSetCursor(CloseableIteration<BindingSet,QueryEvaluationException> delegate, BindingSet bindings)
           
 
Method Summary
 BindingSet next()
          Returns the next element from the wrapped Iteration.
 
Methods inherited from class info.aduna.iteration.IterationWrapper
handleClose, hasNext, 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

InsertBindingSetCursor

public InsertBindingSetCursor(CloseableIteration<BindingSet,QueryEvaluationException> delegate,
                              BindingSet bindings)
Method Detail

next

public BindingSet next()
                throws QueryEvaluationException
Description copied from class: IterationWrapper
Returns the next element from the wrapped Iteration.

Specified by:
next in interface Iteration<BindingSet,QueryEvaluationException>
Overrides:
next in class IterationWrapper<BindingSet,QueryEvaluationException>
Returns:
the next element in the iteration.
Throws:
QueryEvaluationException


Copyright © 2001-2012 Aduna. All Rights Reserved.