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