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 connectionTypical 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 Description void
perform(RepositoryConnection conn, TripleSourceBase.ResultHolder<T> resultHolder)
-
-
-
Method Detail
-
perform
void perform(RepositoryConnection conn, TripleSourceBase.ResultHolder<T> resultHolder)
-
-