org.eclipse.rdf4j.federated.evaluation.iterator

## Class InsertBindingsIteration

- java.lang.Object
- - org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<T,X>
  - - org.eclipse.rdf4j.common.iteration.ConvertingIteration<BindingSet,BindingSet,QueryEvaluationException>
    - - org.eclipse.rdf4j.federated.evaluation.iterator.InsertBindingsIteration

- All Implemented Interfaces:
    AutoCloseable, CloseableIteration<BindingSet,QueryEvaluationException>, Iteration<BindingSet,QueryEvaluationException>

      public class InsertBindingsIteration
      extends ConvertingIteration<BindingSet,BindingSet,QueryEvaluationException>

  Inserts original bindings into the result.
  Author:
    Andreas Schwarte

- - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `InsertBindingsIteration(CloseableIteration<BindingSet,QueryEvaluationException> iter, BindingSet bindings)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 BindingSet bindings

  - ### Constructor Detail

    - #### InsertBindingsIteration

          public InsertBindingsIteration(CloseableIteration<BindingSet,QueryEvaluationException> iter,
                                         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`

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.