Package org.apache.hadoop.fs.http.server
Class FSOperations.FSGetSnapshottableDirListing
java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSGetSnapshottableDirListing
- All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<String>
- Enclosing class:
- FSOperations
@Private
public static class FSOperations.FSGetSnapshottableDirListing
extends Object
implements FileSystemAccess.FileSystemExecutor<String>
Executor that performs a getSnapshottableDirListing operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a getSnapshottableDirListing executor. -
Method Summary
-
Constructor Details
-
FSGetSnapshottableDirListing
public FSGetSnapshottableDirListing()Creates a getSnapshottableDirListing executor.
-
-
Method Details
-
execute
Executes the filesystem operation.- Specified by:
executein interfaceFileSystemAccess.FileSystemExecutor<String>- Parameters:
fs- filesystem instance to use.- Returns:
- A JSON string of all snapshottable directories.
- Throws:
IOException- thrown if an IO error occurred.
-