@InterfaceAudience.Private public static class FSOperations.FSFileStatus extends Object implements FileSystemAccess.FileSystemExecutor<Map>
| Constructor and Description | 
|---|
| FSFileStatus(String path)Creates a file-status executor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map | execute(org.apache.hadoop.fs.FileSystem fs)Executes the filesystem getFileStatus operation and returns the
 result in a JSONish Map. | 
public FSFileStatus(String path)
path - the path to retrieve the status.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.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.