Package org.apache.hadoop.fs
Class MD5MD5CRC32GzipFileChecksum
java.lang.Object
org.apache.hadoop.fs.FileChecksum
org.apache.hadoop.fs.MD5MD5CRC32FileChecksum
org.apache.hadoop.fs.MD5MD5CRC32GzipFileChecksum
- All Implemented Interfaces:
Writable
For CRC32 with the Gzip polynomial
-
Field Summary
Fields inherited from class org.apache.hadoop.fs.MD5MD5CRC32FileChecksum
LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionSame as this(0, 0, null)MD5MD5CRC32GzipFileChecksum(int bytesPerCRC, long crcPerBlock, MD5Hash md5) Create a MD5FileChecksum. -
Method Summary
Methods inherited from class org.apache.hadoop.fs.MD5MD5CRC32FileChecksum
getAlgorithmName, getBytes, getChecksumOpt, getCrcTypeFromAlgorithmName, getLength, readFields, toString, writeMethods inherited from class org.apache.hadoop.fs.FileChecksum
equals, hashCode
-
Constructor Details
-
MD5MD5CRC32GzipFileChecksum
public MD5MD5CRC32GzipFileChecksum()Same as this(0, 0, null) -
MD5MD5CRC32GzipFileChecksum
Create a MD5FileChecksum.- Parameters:
bytesPerCRC- bytesPerCRC.crcPerBlock- crcPerBlock.md5- md5.
-
-
Method Details
-
getCrcType
Description copied from class:MD5MD5CRC32FileChecksumreturns the CRC type.- Overrides:
getCrcTypein classMD5MD5CRC32FileChecksum- Returns:
- data check sum type.
-