HBASE-26002 MultiRowMutationEndpoint should return the result of the conditional update (addendum)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
Toshihiro Suzuki 2021-06-15 08:03:30 +09:00
parent ec31818574
commit a35ec994b9

View File

@ -96,7 +96,10 @@ import org.apache.hadoop.hbase.shaded.protobuf.generated.MultiRowMutationProtos.
* MultiRowMutationService.BlockingInterface service = * MultiRowMutationService.BlockingInterface service =
* MultiRowMutationService.newBlockingStub(channel); * MultiRowMutationService.newBlockingStub(channel);
* MutateRowsRequest mrm = mrmBuilder.build(); * MutateRowsRequest mrm = mrmBuilder.build();
* service.mutateRows(null, mrm); * MultiRowMutationProtos.MutateRowsResponse response = service.mutateRows(null, mrm);
*
* // We can get the result of the conditional update
* boolean processed = response.getProcessed();
* </code> * </code>
*/ */
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) @InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC)