public static class FileWithSnapshot.FileDiff extends Object
INodeFile
between two snapshots.Modifier and Type | Method and Description |
---|---|
int |
compareTo(Integer that)
Compare diffs with snapshot ID.
|
long |
getFileSize() |
org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot |
getSnapshot() |
String |
toString() |
public long getFileSize()
public final int compareTo(Integer that)
compareTo
in interface Comparable<Integer>
public final org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot getSnapshot()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.