Package org.eclipse.rdf4j.repository.sparql.federation

## Class ServiceJoinConversionIteration

- java.lang.Object
- - org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<T,​X>
  - - org.eclipse.rdf4j.common.iteration.ConvertingIteration<BindingSet,​BindingSet,​QueryEvaluationException>
    - - org.eclipse.rdf4j.repository.sparql.federation.ServiceJoinConversionIteration

- All Implemented Interfaces:
    `AutoCloseable`, `CloseableIteration<BindingSet,​QueryEvaluationException>`, `Iteration<BindingSet,​QueryEvaluationException>`
  Direct Known Subclasses:
    `ServiceJoinConversionIteration`

      public class ServiceJoinConversionIteration
      extends ConvertingIteration<BindingSet,​BindingSet,​QueryEvaluationException>

  Inserts original bindings into the result, uses ?__rowIdx to resolve original bindings. See `ServiceJoinIterator` and `SPARQLFederatedService`.
  Author:
    Andreas Schwarte

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected List<BindingSet>` | `bindings` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ServiceJoinConversionIteration​(CloseableIteration<BindingSet,​QueryEvaluationException> iter, List<BindingSet> bindings)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected BindingSet` | `convert​(BindingSet bIn)` | 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.Iteration

      `stream`

- - ### Field Detail

    - #### bindings

          protected final List<BindingSet> bindings

  - ### Constructor Detail

    - #### ServiceJoinConversionIteration

          public ServiceJoinConversionIteration​(CloseableIteration<BindingSet,​QueryEvaluationException> iter,
                                                List<BindingSet> bindings)

  - ### Method Detail

    - #### convert

          protected BindingSet convert​(BindingSet bIn)
                                throws QueryEvaluationException

      Description copied from class: `ConvertingIteration`
      Converts a source type object to a target type object.
      Specified by:
        `convert` in class `ConvertingIteration<BindingSet,​BindingSet,​QueryEvaluationException>`
      Throws:
        `QueryEvaluationException`