Package org.apache.hadoop.fs.http.server
Class FSOperations.FSListXAttrs
java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSListXAttrs
- All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<Map>
- Enclosing class:
- FSOperations
@Private
public static class FSOperations.FSListXAttrs
extends Object
implements FileSystemAccess.FileSystemExecutor<Map>
Executor that performs listing xattrs FileSystemAccess files system
operation.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FSListXAttrs
Creates listing 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 xattr names.
- Throws:
IOException- thrown if an IO error occurred.
-