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, removeclose, isClosedprotected 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
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-2020 Eclipse Foundation. All Rights Reserved.