示例#1
0
 @Override
 public <T extends CoprocessorProtocol, R> void coprocessorExec(
     Class<T> protocol,
     byte[] startKey,
     byte[] endKey,
     Batch.Call<T, R> callable,
     Batch.Callback<R> callback)
     throws IOException, Throwable {
   table.coprocessorExec(protocol, startKey, endKey, callable, callback);
 }
示例#2
0
 @Override
 public <T extends CoprocessorProtocol, R> Map<byte[], R> coprocessorExec(
     Class<T> protocol, byte[] startKey, byte[] endKey, Batch.Call<T, R> callable)
     throws IOException, Throwable {
   return table.coprocessorExec(protocol, startKey, endKey, callable);
 }