Class BoundJoinVALUESConversionIteration
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<BindingSet>
org.eclipse.rdf4j.common.iteration.ConvertingIteration<BindingSet, BindingSet>
org.eclipse.rdf4j.federated.evaluation.iterator.BoundJoinVALUESConversionIteration
- All Implemented Interfaces:
AutoCloseable, Iterator<BindingSet>, CloseableIteration<BindingSet>
Inserts original bindings into the result. This implementation is used for bound joins with VALUES clauses, see
.
invalid reference
SparqlFederationEvalStrategyWithValues
It is assumed the the query results contain a binding for "?__index" which corresponds to the index in the input
mappings. See QueryStringUtil for details
- Since:
- 3.0
- Author:
- Andreas Schwarte
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<BindingSet> static final StringThe binding name for the indexFields inherited from interface CloseableIteration
EMPTY_STATEMENT_ITERATION -
Constructor Summary
ConstructorsConstructorDescriptionBoundJoinVALUESConversionIteration(CloseableIteration<BindingSet> iter, List<BindingSet> bindings) -
Method Summary
Modifier and TypeMethodDescriptionprotected BindingSetconvert(BindingSet bIn) Converts a source type object to a target type object.Methods inherited from class ConvertingIteration
handleClose, hasNext, next, removeMethods inherited from class AbstractCloseableIteration
close, isClosedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseableIteration
streamMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
INDEX_BINDING_NAME
-
bindings
-
-
Constructor Details
-
BoundJoinVALUESConversionIteration
public BoundJoinVALUESConversionIteration(CloseableIteration<BindingSet> iter, List<BindingSet> bindings)
-
-
Method Details
-
convert
Description copied from class:ConvertingIterationConverts a source type object to a target type object.- Specified by:
convertin classConvertingIteration<BindingSet, BindingSet>- Throws:
QueryEvaluationException
-