WritableCompositeCrcFileChecksum, EtagChecksum, MD5MD5CRC32FileChecksum@Public @Stable public abstract class FileChecksum extends java.lang.Object implements Writable
| Constructor | Description |
|---|---|
FileChecksum() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object other) |
Return true if both the algorithms and the values are the same.
|
abstract java.lang.String |
getAlgorithmName() |
The checksum algorithm name.
|
abstract byte[] |
getBytes() |
The value of the checksum in bytes.
|
Options.ChecksumOpt |
getChecksumOpt() |
|
abstract int |
getLength() |
The length of the checksum in bytes.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitreadFields, writepublic abstract java.lang.String getAlgorithmName()
public abstract int getLength()
public abstract byte[] getBytes()
public Options.ChecksumOpt getChecksumOpt()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - other.public int hashCode()
hashCode in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.