FileSystemAccess.FileSystemExecutor<java.lang.String>@Private public static class FSOperations.FSGetSnapshotDiffListing extends java.lang.Object implements FileSystemAccess.FileSystemExecutor<java.lang.String>
| Constructor | Description |
|---|---|
FSGetSnapshotDiffListing(java.lang.String path,
java.lang.String oldSnapshotName,
java.lang.String snapshotName,
java.lang.String snapshotDiffStartPath,
int snapshotDiffIndex) |
Creates a getSnapshotDiffListing executor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
execute(org.apache.hadoop.fs.FileSystem fs) |
Executes the filesystem operation.
|
public FSGetSnapshotDiffListing(java.lang.String path,
java.lang.String oldSnapshotName,
java.lang.String snapshotName,
java.lang.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 java.lang.String execute(org.apache.hadoop.fs.FileSystem fs)
throws java.io.IOException
execute in interface FileSystemAccess.FileSystemExecutor<java.lang.String>fs - filesystem instance to use.java.io.IOException - thrown if an IO error occurred.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.