guihecheng commented on code in PR #3346:
URL: https://github.com/apache/ozone/pull/3346#discussion_r865541619
##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/Table.java:
##########
@@ -271,6 +271,15 @@ List<? extends KeyValue<KEY, VALUE>>
getSequentialRangeKVs(KEY startKey,
MetadataKeyFilters.MetadataKeyFilter... filters)
throws IOException, IllegalArgumentException;
+ /**
+ * Delete all keys with a prefix.
+ * @param batch
+ * @param prefix
+ * @return
+ */
+ void deleteAllWithPrefix(BatchOperation batch, KEY prefix)
Review Comment:
deleteWithBatch seems to be an existing API, let's name it
deleteBatchWithPrefix
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]