T
- protected static class TripleSourceBase.ResultHolder<T> extends Object implements java.util.function.Supplier<CloseableIteration<T,QueryEvaluationException>>
TripleSourceBase.withConnection(ConnectionOperation)
. Note
that the result holder should also be set with temporary results to properly allow error handling.Modifier and Type | Field and Description |
---|---|
protected CloseableIteration<T,QueryEvaluationException> |
result |
Modifier | Constructor and Description |
---|---|
protected |
ResultHolder() |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<T,QueryEvaluationException> |
get() |
void |
set(CloseableIteration<T,QueryEvaluationException> result) |
protected CloseableIteration<T,QueryEvaluationException> result
public void set(CloseableIteration<T,QueryEvaluationException> result)
public CloseableIteration<T,QueryEvaluationException> get()
get
in interface java.util.function.Supplier<CloseableIteration<T,QueryEvaluationException>>
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.