public static class FSOperations.FSFileStatus extends Object implements FileSystemAccess.FileSystemExecutor<Map>
Constructor and Description |
---|
FSOperations.FSFileStatus(String path)
Creates a file-status executor.
|
public FSOperations.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 occured.Copyright © 2014 Apache Software Foundation. All Rights Reserved.