org.apache.hadoop.hdfs.protocol
Class SnapshotDiffReport.DiffReportEntry

java.lang.Object
  extended by 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.


Constructor Summary
SnapshotDiffReport.DiffReportEntry(SnapshotDiffReport.DiffType type, byte[] path)
           
SnapshotDiffReport.DiffReportEntry(SnapshotDiffReport.DiffType type, byte[][] pathComponents)
           
 
Method Summary
 boolean equals(Object other)
           
 byte[] getRelativePath()
           
 String getRelativePathString()
           
 SnapshotDiffReport.DiffType getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SnapshotDiffReport.DiffReportEntry

public SnapshotDiffReport.DiffReportEntry(SnapshotDiffReport.DiffType type,
                                          byte[] path)

SnapshotDiffReport.DiffReportEntry

public SnapshotDiffReport.DiffReportEntry(SnapshotDiffReport.DiffType type,
                                          byte[][] pathComponents)
Method Detail

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.