Class ProjectionIterator
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.ProjectionIterator
- All Implemented Interfaces:
AutoCloseable
,CloseableIteration<BindingSet,
,QueryEvaluationException> Iteration<BindingSet,
QueryEvaluationException>
public class ProjectionIterator
extends ConvertingIteration<BindingSet,BindingSet,QueryEvaluationException>
-
Constructor Summary
ConstructorDescriptionProjectionIterator
(Projection projection, CloseableIteration<BindingSet, QueryEvaluationException> iter, BindingSet parentBindings, QueryEvaluationContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected BindingSet
convert
(BindingSet sourceBindings) Converts a source type object to a target type object.static BindingSet
project
(ProjectionElemList projElemList, BindingSet sourceBindings, BindingSet parentBindings) static BindingSet
project
(ProjectionElemList projElemList, BindingSet sourceBindings, BindingSet parentBindings, boolean includeAllParentBindings) 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
-
ProjectionIterator
public ProjectionIterator(Projection projection, CloseableIteration<BindingSet, QueryEvaluationException> iter, BindingSet parentBindings, QueryEvaluationContext context) throws QueryEvaluationException- Throws:
QueryEvaluationException
-
-
Method Details
-
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
-
project
public static BindingSet project(ProjectionElemList projElemList, BindingSet sourceBindings, BindingSet parentBindings) -
project
public static BindingSet project(ProjectionElemList projElemList, BindingSet sourceBindings, BindingSet parentBindings, boolean includeAllParentBindings)
-