@InterfaceAudience.Private public static class FSOperations.FSGetSnapshotListing extends Object implements FileSystemAccess.FileSystemExecutor<String>
Constructor and Description |
---|
FSGetSnapshotListing(String path)
Creates a getSnapshotDiff executor.
|
Modifier and Type | Method and Description |
---|---|
String |
execute(org.apache.hadoop.fs.FileSystem fs)
Executes the filesystem operation.
|
public FSGetSnapshotListing(String path)
path
- directory path of the snapshots to be examined.public String execute(org.apache.hadoop.fs.FileSystem fs) throws IOException
execute
in interface FileSystemAccess.FileSystemExecutor<String>
fs
- filesystem instance to use.IOException
- thrown if an IO error occurred.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.