public class CrossProductIteration extends LookAheadIteration<BindingSet,QueryEvaluationException>
Modifier and Type | Field and Description |
---|---|
protected BindingSet |
currentInputBinding |
protected List<BindingSet> |
inputBindings |
protected Iterator<BindingSet> |
inputBindingsIterator |
protected CloseableIteration<BindingSet,QueryEvaluationException> |
resultIteration |
Constructor and Description |
---|
CrossProductIteration(CloseableIteration<BindingSet,QueryEvaluationException> resultIteration,
List<BindingSet> inputBindings) |
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
protected final List<BindingSet> inputBindings
protected final CloseableIteration<BindingSet,QueryEvaluationException> resultIteration
protected Iterator<BindingSet> inputBindingsIterator
protected BindingSet currentInputBinding
public CrossProductIteration(CloseableIteration<BindingSet,QueryEvaluationException> resultIteration, List<BindingSet> inputBindings)
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-2022 Eclipse Foundation. All Rights Reserved.