charlesconnell commented on code in PR #6167:
URL: https://github.com/apache/hbase/pull/6167#discussion_r1754078870


##########
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncTable.java:
##########
@@ -744,4 +751,10 @@ default CoprocessorServiceBuilder<S, R> toRow(byte[] 
endKey) {
    */
   <S, R> CoprocessorServiceBuilder<S, R> 
coprocessorService(Function<RpcChannel, S> stubMaker,
     ServiceCaller<S, R> callable, CoprocessorCallback<R> callback);
+
+  /**
+   * Similar to above. Use when your coprocessor client+endpoint supports 
partial results.
+   */
+  <S, R> CoprocessorServiceBuilder<S, R> 
coprocessorService(Function<RpcChannel, S> stubMaker,

Review Comment:
   If the server does not offer partial results, assuming your client is 
well-written, it is still safe to use this method. Your callback's 
`getNextCallable()` method will find itself always returning null.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to