java.lang.Comparable<java.lang.Integer>public static class DirectoryWithSnapshotFeature.DirectoryDiff
extends java.lang.Object
INodeDirectory between two snapshots.| Constructor | Description |
|---|---|
DirectoryDiff(int snapshotId,
INodeDirectory dir,
org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.ChildrenDiff diff) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(java.lang.Integer that) |
Compare diffs with snapshot ID.
|
org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.ChildrenDiff |
getChildrenDiff() |
|
int |
getSnapshotId() |
|
boolean |
isSnapshotRoot() |
|
java.lang.String |
toString() |
public DirectoryDiff(int snapshotId,
INodeDirectory dir,
org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.ChildrenDiff diff)
public org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.ChildrenDiff getChildrenDiff()
public boolean isSnapshotRoot()
public java.lang.String toString()
public final int compareTo(java.lang.Integer that)
compareTo in interface java.lang.Comparable<N extends INode>public final int getSnapshotId()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.