Package org.apache.hadoop.fs.http.server
Class FSOperations.FSGetXAttrs
java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSGetXAttrs
- All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<Map>
- Enclosing class:
- FSOperations
@Private
public static class FSOperations.FSGetXAttrs
extends Object
implements FileSystemAccess.FileSystemExecutor<Map>
Executor that performs getting xattrs FileSystemAccess files system
operation.
-
Constructor Summary
ConstructorsConstructorDescriptionFSGetXAttrs(String path, List<String> names, org.apache.hadoop.fs.XAttrCodec encoding) Creates getting xattrs executor. -
Method Summary
-
Constructor Details
-
FSGetXAttrs
Creates getting xattrs executor.- Parameters:
path- the path to retrieve the xattrs.
-
-
Method Details
-
execute
Executes the filesystem operation.- Specified by:
executein interfaceFileSystemAccess.FileSystemExecutor<Map>- Parameters:
fs- filesystem instance to use.- Returns:
- Map a map object (JSON friendly) with the xattrs.
- Throws:
IOException- thrown if an IO error occurred.
-