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)