pabloem commented on a change in pull request #12581:
URL: https://github.com/apache/beam/pull/12581#discussion_r471738659
##########
File path:
sdks/java/io/azure/src/main/java/org/apache/beam/sdk/io/azure/blobstore/AzfsResourceId.java
##########
@@ -105,6 +129,17 @@ boolean isWildcard() {
return GLOB_PREFIX.matcher(blob).matches();
}
+ String getBlobNonWildcardPrefix() {
+ Matcher m = GLOB_PREFIX.matcher(getBlob());
+ checkArgument(
+ m.matches(), String.format("Glob expression: [%s] is not expandable.",
getBlob()));
+ return m.group("PREFIX");
+ }
+
+ public boolean isContainer() {
+ return blob == null;
Review comment:
(it seems like it's not possible, so feel free to ignore the comment if
that's correct)
----------------------------------------------------------------
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]