|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.fs.FileChecksum
@InterfaceAudience.Public @InterfaceStability.Stable public abstract class FileChecksum
An abstract class representing file checksums for files.
Constructor Summary | |
---|---|
FileChecksum()
|
Method Summary | |
---|---|
boolean |
equals(Object other)
Return true if both the algorithms and the values are the same. |
abstract String |
getAlgorithmName()
The checksum algorithm name |
abstract byte[] |
getBytes()
The value of the checksum in bytes |
org.apache.hadoop.fs.Options.ChecksumOpt |
getChecksumOpt()
|
abstract int |
getLength()
The length of the checksum in bytes |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.io.Writable |
---|
readFields, write |
Constructor Detail |
---|
public FileChecksum()
Method Detail |
---|
public abstract String getAlgorithmName()
public abstract int getLength()
public abstract byte[] getBytes()
public org.apache.hadoop.fs.Options.ChecksumOpt getChecksumOpt()
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |