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