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[] sourcePath)
           
SnapshotDiffReport.DiffReportEntry(SnapshotDiffReport.DiffType type, byte[][] sourcePathComponents)
           
SnapshotDiffReport.DiffReportEntry(SnapshotDiffReport.DiffType type, byte[][] sourcePathComponents, byte[][] targetPathComponents)
           
SnapshotDiffReport.DiffReportEntry(SnapshotDiffReport.DiffType type, byte[] sourcePath, byte[] targetPath)
           
 
Method Summary
 boolean equals(Object other)
           
 byte[] getSourcePath()
           
 byte[] getTargetPath()
           
 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[] sourcePath)

SnapshotDiffReport.DiffReportEntry

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

SnapshotDiffReport.DiffReportEntry

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

SnapshotDiffReport.DiffReportEntry

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

toString

public String toString()
Overrides:
toString in class Object

getType

public SnapshotDiffReport.DiffType getType()

getSourcePath

public byte[] getSourcePath()

getTargetPath

public byte[] getTargetPath()

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.