Package org.apache.beam.sdk.io.fs
Class MatchResult
java.lang.Object
org.apache.beam.sdk.io.fs.MatchResult
The result of 
FileSystem.match(java.util.List<java.lang.String>).- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMatchResult.Metadataof a matched file.static enumStatus of aMatchResult. - 
Method Summary
Modifier and TypeMethodDescriptionstatic MatchResultcreate(MatchResult.Status status, IOException e) static MatchResultcreate(MatchResult.Status status, List<MatchResult.Metadata> metadata) abstract List<MatchResult.Metadata> metadata()MatchResult.Metadataof matched files.abstract MatchResult.Statusstatus()Status of theMatchResult.static MatchResultunknown()Returns aMatchResultwithMatchResult.Status.UNKNOWN. 
- 
Method Details
- 
create
 - 
create
 - 
unknown
Returns aMatchResultwithMatchResult.Status.UNKNOWN. - 
status
Status of theMatchResult. - 
metadata
MatchResult.Metadataof matched files. Note that ifstatus()isMatchResult.Status.NOT_FOUND, this may either throw aFileNotFoundExceptionor return an empty list, depending on theEmptyMatchTreatmentused in theFileSystems.match(java.util.List<java.lang.String>)call.- Throws:
 IOException
 
 -