Class BlockChecksum
java.lang.Object
com.firebolt.jdbc.resultset.compress.BlockChecksum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
asBytes()
static BlockChecksum
calculateForBlock
(byte magic, int compressedSizeWithHeader, int uncompressedSize, byte[] data, int length) boolean
static BlockChecksum
fromBytes
(byte[] checksum) int
hashCode()
toString()
-
Constructor Details
-
BlockChecksum
public BlockChecksum(long first, long second)
-
-
Method Details
-
fromBytes
-
calculateForBlock
public static BlockChecksum calculateForBlock(byte magic, int compressedSizeWithHeader, int uncompressedSize, byte[] data, int length) -
asBytes
public byte[] asBytes() -
equals
-
hashCode
public int hashCode() -
toString
-