org.apache.hadoop.hdfs.protocol
Class SnapshotDiffReport.DiffReportEntry
java.lang.Object
org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffReportEntry
- Enclosing class:
- SnapshotDiffReport
public static class SnapshotDiffReport.DiffReportEntry
- extends Object
Representing the full path and diff type of a file/directory where changes
have happened.
SnapshotDiffReport.DiffReportEntry
public SnapshotDiffReport.DiffReportEntry(SnapshotDiffReport.DiffType type,
byte[] path)
SnapshotDiffReport.DiffReportEntry
public SnapshotDiffReport.DiffReportEntry(SnapshotDiffReport.DiffType type,
byte[][] pathComponents)
toString
public String toString()
- Overrides:
toString
in class Object
getType
public SnapshotDiffReport.DiffType getType()
getRelativePathString
public String getRelativePathString()
getRelativePath
public byte[] getRelativePath()
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2014 Apache Software Foundation. All Rights Reserved.