public class SPARQLCrossProductIteration extends LookAheadIteration<BindingSet,QueryEvaluationException>
CrossProductIteration, and is only included here to avoid
a circular dependency between the algebra-evaluation module and the sparql-repository module.| 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 |
|---|
SPARQLCrossProductIteration(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, removeclose, isClosedprotected final List<BindingSet> inputBindings
protected final CloseableIteration<BindingSet,QueryEvaluationException> resultIteration
protected Iterator<BindingSet> inputBindingsIterator
protected BindingSet currentInputBinding
public SPARQLCrossProductIteration(CloseableIteration<BindingSet,QueryEvaluationException> resultIteration, List<BindingSet> inputBindings)
protected BindingSet getNextElement() throws QueryEvaluationException
LookAheadIterationgetNextElement in class LookAheadIteration<BindingSet,QueryEvaluationException>QueryEvaluationExceptionprotected void handleClose()
throws QueryEvaluationException
AbstractCloseableIterationAbstractCloseableIteration.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>QueryEvaluationExceptionCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.