Class TripleSourceBase.ResultHolder<T>
java.lang.Object
org.eclipse.rdf4j.federated.evaluation.TripleSourceBase.ResultHolder<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
Supplier<CloseableIteration<T,
QueryEvaluationException>>
- Enclosing class:
- TripleSourceBase
protected static class TripleSourceBase.ResultHolder<T>
extends Object
implements Supplier<CloseableIteration<T,QueryEvaluationException>>
Holder for a result iteration to be used with
TripleSourceBase.withConnection(ConnectionOperation)
. Note
that the result holder should also be set with temporary results to properly allow error handling.- Author:
- Andreas Schwarte
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget()
void
set
(CloseableIteration<T, QueryEvaluationException> result)