Class ExtensionIterator
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<T,X>
org.eclipse.rdf4j.common.iteration.ConvertingIteration<BindingSet,BindingSet,QueryEvaluationException>
org.eclipse.rdf4j.query.algebra.evaluation.iterator.ExtensionIterator
- All Implemented Interfaces:
AutoCloseable
,CloseableIteration<BindingSet,
,QueryEvaluationException> Iteration<BindingSet,
QueryEvaluationException>
public class ExtensionIterator
extends ConvertingIteration<BindingSet,BindingSet,QueryEvaluationException>
-
Constructor Summary
ConstructorDescriptionExtensionIterator
(CloseableIteration<BindingSet, QueryEvaluationException> iter, Consumer<MutableBindingSet> setter, QueryEvaluationContext context) ExtensionIterator
(Extension extension, CloseableIteration<BindingSet, QueryEvaluationException> 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
-
Constructor Details
-
ExtensionIterator
public ExtensionIterator(Extension extension, CloseableIteration<BindingSet, QueryEvaluationException> iter, EvaluationStrategy strategy, QueryEvaluationContext context) throws QueryEvaluationException- Throws:
QueryEvaluationException
-
ExtensionIterator
public ExtensionIterator(CloseableIteration<BindingSet, QueryEvaluationException> 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, QueryEvaluationException> - Throws:
QueryEvaluationException
-