org.eclipse.rdf4j.federated.evaluation

## Interface TripleSourceBase.ConnectionOperation<T>

- Type Parameters:
    `T` -
  Enclosing class:
    TripleSourceBase

      protected static interface TripleSourceBase.ConnectionOperation<T>

  Interface defining the operation to be perform on the connection

  Typical pattern

       CloseableIteration<BindingSet, QueryEvaluationException> res = withConnection((conn, resultHolder) -> {
              // do something with conn
                      resultHolder.set(...)
       });

  Author:
    Andreas Schwarte
  See Also:
    `TripleSourceBase.withConnection(ConnectionOperation)`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `perform(RepositoryConnection conn, TripleSourceBase.ResultHolder<T> resultHolder)`

- - ### Method Detail

    - #### perform

          void perform(RepositoryConnection conn,
                       TripleSourceBase.ResultHolder<T> resultHolder)

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