@InterfaceAudience.Public @InterfaceStability.Stable public abstract class FileChecksum extends Object implements Writable
Constructor and Description |
---|
FileChecksum() |
Modifier and Type | Method and Description |
---|---|
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() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
readFields, write
public FileChecksum()
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)
Copyright © 2016 Apache Software Foundation. All Rights Reserved.