@InterfaceAudience.Private public static class FSOperations.FSAclStatus extends Object implements FileSystemAccess.FileSystemExecutor<Map>
Constructor and Description |
---|
FSAclStatus(String path)
Creates an executor for getting the ACLs for a file.
|
Modifier and Type | Method and Description |
---|---|
Map |
execute(org.apache.hadoop.fs.FileSystem fs)
Executes the filesystem operation.
|
public FSAclStatus(String path)
path
- the path to retrieve the ACLs.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–2017 Apache Software Foundation. All rights reserved.