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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CloseableIteration
<? extends BindingSet> 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
stream
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
DelayedEvaluationIteration
-
-
Method Details
-
createIteration
protected CloseableIteration<? extends BindingSet> 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>
- Throws:
QueryEvaluationException
-