Package io.nosqlbench.virtdata.murmur
Interface Checksum128
- All Superinterfaces:
java.util.zip.Checksum
- All Known Implementing Classes:
Murmur3F
public interface Checksum128
extends java.util.zip.Checksum
Checksum interface to access 128 bit in various ways.
-
Method Summary
Modifier and Type Method Description java.math.BigIntegergetValueBigInteger()byte[]getValueBytesBigEndian()Big endian is the default in Java / network byte order.byte[]getValueBytesLittleEndian()Big endian is used by most machines natively.java.lang.StringgetValueHexString()longgetValueHigh()Methods inherited from interface java.util.zip.Checksum
getValue, reset, update, update, update, update
-
Method Details
-
getValueHigh
long getValueHigh()- Returns:
- Returns the higher 64 bits of the 128 bit hash.
-
getValueBigInteger
java.math.BigInteger getValueBigInteger()- Returns:
- Positive value.
-
getValueHexString
java.lang.String getValueHexString()- Returns:
- Padded with leading 0s to ensure length of 32.
-
getValueBytesBigEndian
byte[] getValueBytesBigEndian()Big endian is the default in Java / network byte order.- Returns:
- Big Endian bytes
-
getValueBytesLittleEndian
byte[] getValueBytesLittleEndian()Big endian is used by most machines natively.- Returns:
- Little Endian bytes
-