brfrn169 commented on a change in pull request #1320: HBASE-8458 Support for
batch version of checkAndPut() and checkAndDel…
URL: https://github.com/apache/hbase/pull/1320#discussion_r399585806
##########
File path: hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
##########
@@ -410,6 +411,17 @@ default CheckAndMutateWithFilterBuilder
checkAndMutate(byte[] row, Filter filter
boolean thenMutate(RowMutations mutation) throws IOException;
}
+ /**
+ * Batch checkAndMutate the specified data into the table.
+ *
+ * @param checkAndMutates The list of rows to apply.
+ * @return A array of boolean that represent the result for each
CheckAndMutate.
+ * @throws IOException if a remote or network exception occurs.
+ */
+ default boolean[] checkAndMutate(List<CheckAndMutate> checkAndMutates)
throws IOException {
+ throw new NotImplementedException("Add an implementation!");
Review comment:
Actually, we already use NotImplementedException in other method in this
class. So I used it here, too.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services