DaveTeng0 commented on code in PR #3842:
URL: https://github.com/apache/ozone/pull/3842#discussion_r1090332560
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/OzoneBucket.java:
##########
@@ -650,11 +650,12 @@ public long getUsedNamespace() {
* keys if key prefix is null.
*
* @param keyPrefix Bucket prefix to match
+ * @param delimiter A delimiter to group matched keys
* @return {@code Iterator<OzoneKey>}
*/
- public Iterator<? extends OzoneKey> listKeys(String keyPrefix)
- throws IOException {
- return listKeys(keyPrefix, null);
+ public Iterator<? extends OzoneKey> listKeys(String keyPrefix,
+ String delimiter) throws IOException {
+ return listKeys(keyPrefix, delimiter, null);
Review Comment:
Hey @k5342 ! Following your code changes, I have a small question: would the
method listKeys() change the result for OBS type of bucket? Seemed like it'll
not, would you mind explaining for me a bit?
That'd be very helpful for me understanding this change. Thank you!
--
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]