@InterfaceAudience.Private public static class FSOperations.FSListXAttrs extends Object implements FileSystemAccess.FileSystemExecutor<Map>
Constructor and Description |
---|
FSListXAttrs(String path)
Creates listing xattrs executor.
|
Modifier and Type | Method and Description |
---|---|
Map |
execute(org.apache.hadoop.fs.FileSystem fs)
Executes the filesystem operation.
|
public FSListXAttrs(String path)
path
- the path to retrieve the xattrs.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 © 2018 Apache Software Foundation. All Rights Reserved.