Class QueryEvaluationStep.DelayedEvaluationIteration
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<BindingSet>
org.eclipse.rdf4j.common.iteration.DelayedIteration<BindingSet>
org.eclipse.rdf4j.query.algebra.evaluation.QueryEvaluationStep.DelayedEvaluationIteration
- All Implemented Interfaces:
 AutoCloseable, Iterator<BindingSet>, CloseableIteration<BindingSet>
- Enclosing interface:
 QueryEvaluationStep
public static class QueryEvaluationStep.DelayedEvaluationIteration
extends DelayedIteration<BindingSet>
Utility class that removes code duplication and makes a precompiled QueryEvaluationStep available as an iteration
that may be created and used later.
- 
Field Summary
Fields inherited from interface CloseableIteration
EMPTY_STATEMENT_ITERATION - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected CloseableIteration<? extends BindingSet> Creates the iteration that should be iterated over.Methods inherited from class DelayedIteration
handleClose, hasNext, next, removeMethods inherited from class AbstractCloseableIteration
close, isClosedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseableIteration
streamMethods inherited from interface Iterator
forEachRemaining 
- 
Constructor Details
- 
DelayedEvaluationIteration
 
 - 
 - 
Method Details
- 
createIteration
protected CloseableIteration<? extends BindingSet> createIteration() throws QueryEvaluationExceptionDescription copied from class:DelayedIterationCreates the iteration that should be iterated over. This method is called only once, when the iteration is first needed.- Specified by:
 createIterationin classDelayedIteration<BindingSet>- Throws:
 QueryEvaluationException
 
 -