Package org.apache.hadoop.fs.http.server
Class FSOperations.FSFileLinkStatus
java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSFileLinkStatus
- All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<Map>
- Enclosing class:
- FSOperations
@Private
public static class FSOperations.FSFileLinkStatus
extends Object
implements FileSystemAccess.FileSystemExecutor<Map>
Executor that performs a linkFile-status FileSystemAccess files
system operation.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FSFileLinkStatus
Creates a linkFile-status executor.- Parameters:
path- the path to retrieve the status.
-
-
Method Details
-
execute
Executes the filesystem getFileLinkStatus operation and returns the result in a JSON Map.- Specified by:
executein interfaceFileSystemAccess.FileSystemExecutor<Map>- Parameters:
fs- filesystem instance to use.- Returns:
- a Map object (JSON friendly) with the file status.
- Throws:
IOException- thrown if an IO error occurred.
-