Class ExtensionIterator
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<BindingSet>
org.eclipse.rdf4j.common.iteration.ConvertingIteration<BindingSet,BindingSet>
org.eclipse.rdf4j.query.algebra.evaluation.iterator.ExtensionIterator
- All Implemented Interfaces:
AutoCloseable
,Iterator<BindingSet>
,CloseableIteration<BindingSet>
-
Constructor Summary
ConstructorDescriptionExtensionIterator
(CloseableIteration<BindingSet> iter, Consumer<MutableBindingSet> setter, QueryEvaluationContext context) ExtensionIterator
(Extension extension, CloseableIteration<BindingSet> iter, EvaluationStrategy strategy, QueryEvaluationContext context) -
Method Summary
Modifier and TypeMethodDescriptionstatic Consumer
<MutableBindingSet> buildLambdaToEvaluateTheExpressions
(Extension extension, EvaluationStrategy strategy, QueryEvaluationContext context) convert
(BindingSet sourceBindings) Converts a source type object to a target type object.Methods inherited from class org.eclipse.rdf4j.common.iteration.ConvertingIteration
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
-
ExtensionIterator
public ExtensionIterator(Extension extension, CloseableIteration<BindingSet> iter, EvaluationStrategy strategy, QueryEvaluationContext context) throws QueryEvaluationException - Throws:
QueryEvaluationException
-
ExtensionIterator
public ExtensionIterator(CloseableIteration<BindingSet> iter, Consumer<MutableBindingSet> setter, QueryEvaluationContext context) throws QueryEvaluationException - Throws:
QueryEvaluationException
-
-
Method Details
-
buildLambdaToEvaluateTheExpressions
public static Consumer<MutableBindingSet> buildLambdaToEvaluateTheExpressions(Extension extension, EvaluationStrategy strategy, QueryEvaluationContext context) -
convert
Description copied from class:ConvertingIteration
Converts a source type object to a target type object.- Specified by:
convert
in classConvertingIteration<BindingSet,
BindingSet> - Throws:
QueryEvaluationException
-