@InterfaceAudience.Public public static interface AsyncTable.PartialResultCoprocessorCallback<S,R> extends AsyncTable.CoprocessorCallback<R>
It is up to a particular coprocessor implementation and its corresponding clients to agree on what it means for results to be incomplete, how this state is communicated, and how multiple incomplete results are accumulated together.
 Use this callback when you want to execute a coprocessor call on a range of regions, and that
 coprocessor may return incomplete results for a given region. See also the docs for
 AsyncTable.CoprocessorCallback, which all apply here to its child interface too.
| Modifier and Type | Method and Description | 
|---|---|
| ServiceCaller<S,R> | getNextCallable(R response,
               RegionInfo region)Subclasses should implement this to tell AsyncTable whether the given response is "final" or
 whether the AsyncTable should send another request to the coprocessor to fetch more results
 from the given region. | 
| Duration | getWaitInterval(R response,
               RegionInfo region)Subclasses should implement this such that, when the above method returns non-null, this
 method returns the duration that AsyncTable should wait before sending the next request to
 the given region. | 
onComplete, onError, onRegionComplete, onRegionErrorServiceCaller<S,R> getNextCallable(R response, RegionInfo region)
response - The response received from the coprocessorregion - The region the response came fromDuration getWaitInterval(R response, RegionInfo region)
Duration.ZERO.response - The response received from the coprocessorregion - The region the response came fromCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.