public class MultiProjectionIterator extends LookAheadIteration<BindingSet,QueryEvaluationException>
Constructor and Description |
---|
MultiProjectionIterator(MultiProjection multiProjection,
CloseableIteration<BindingSet,QueryEvaluationException> iter,
BindingSet bindings) |
Modifier and Type | Method and Description |
---|---|
protected BindingSet |
getNextElement()
Gets the next element.
|
protected void |
handleClose()
Called by
AbstractCloseableIteration.close() when it is called for the first time. |
hasNext, next, remove
close, isClosed
public MultiProjectionIterator(MultiProjection multiProjection, CloseableIteration<BindingSet,QueryEvaluationException> iter, BindingSet bindings)
protected BindingSet getNextElement() throws QueryEvaluationException
LookAheadIteration
getNextElement
in class LookAheadIteration<BindingSet,QueryEvaluationException>
QueryEvaluationException
protected void handleClose() throws QueryEvaluationException
AbstractCloseableIteration
AbstractCloseableIteration.close()
when it is called for the first time. This method is only called once on each iteration.
By default, this method does nothing.handleClose
in class LookAheadIteration<BindingSet,QueryEvaluationException>
QueryEvaluationException
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.