@InterfaceAudience.Private public static class FSOperations.FSListStatus extends Object implements FileSystemAccess.FileSystemExecutor<Map>, org.apache.hadoop.fs.PathFilter
| Constructor and Description |
|---|
FSOperations.FSListStatus(String path,
String filter)
Creates a list-status executor.
|
public FSOperations.FSListStatus(String path, String filter) throws IOException
path - the directory to retrieve the status of its contents.filter - glob filter to use.IOException - thrown if the filter expression is incorrect.public Map execute(org.apache.hadoop.fs.FileSystem fs) throws IOException
execute in interface FileSystemAccess.FileSystemExecutor<Map>fs - filesystem instance to use.IOException - thrown if an IO error occurred.public boolean accept(org.apache.hadoop.fs.Path path)
accept in interface org.apache.hadoop.fs.PathFilterCopyright © 2022 Apache Software Foundation. All rights reserved.