@InterfaceAudience.Private public static class FSOperations.FSGetSnapshotDiffListing extends Object implements FileSystemAccess.FileSystemExecutor<String>
Constructor and Description |
---|
FSGetSnapshotDiffListing(String path,
String oldSnapshotName,
String snapshotName,
String snapshotDiffStartPath,
int snapshotDiffIndex)
Creates a getSnapshotDiffListing executor.
|
Modifier and Type | Method and Description |
---|---|
String |
execute(org.apache.hadoop.fs.FileSystem fs)
Executes the filesystem operation.
|
public FSGetSnapshotDiffListing(String path, String oldSnapshotName, String snapshotName, String snapshotDiffStartPath, int snapshotDiffIndex)
path
- directory path of the snapshots to be examined.oldSnapshotName
- Older snapshot name.snapshotName
- Newer snapshot name.snapshotDiffStartPath
- snapshot diff start path.snapshotDiffIndex
- snapshot diff index.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.