Class QueryEvaluationStep.DelayedEvaluationIteration
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E,X>
org.eclipse.rdf4j.common.iteration.DelayedIteration<BindingSet,QueryEvaluationException>
org.eclipse.rdf4j.query.algebra.evaluation.QueryEvaluationStep.DelayedEvaluationIteration
- All Implemented Interfaces:
AutoCloseable
,CloseableIteration<BindingSet,
,QueryEvaluationException> Iteration<BindingSet,
QueryEvaluationException>
- Enclosing interface:
QueryEvaluationStep
public static class QueryEvaluationStep.DelayedEvaluationIteration
extends DelayedIteration<BindingSet,QueryEvaluationException>
Utility class that removes code duplication and makes a precompiled QueryEvaluationStep available as an iteration
that may be created and used later.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Iteration<? extends BindingSet,
? extends QueryEvaluationException> Creates the iteration that should be iterated over.Methods inherited from class org.eclipse.rdf4j.common.iteration.DelayedIteration
handleClose, hasNext, next, remove
Methods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration
close, isClosed
-
Constructor Details
-
DelayedEvaluationIteration
-
-
Method Details
-
createIteration
protected Iteration<? extends BindingSet,? extends QueryEvaluationException> createIteration() throws QueryEvaluationExceptionDescription copied from class:DelayedIteration
Creates the iteration that should be iterated over. This method is called only once, when the iteration is first needed.- Specified by:
createIteration
in classDelayedIteration<BindingSet,
QueryEvaluationException> - Throws:
QueryEvaluationException
-