@InterfaceAudience.Private @InterfaceStability.Stable public class MurmurHash3 extends Hash
MurmurHash3 is the successor to MurmurHash2. It comes in 3 variants, and the 32-bit version targets low latency for hash table use.
INVALID_HASH, JENKINS_HASH, MURMUR_HASH, MURMUR_HASH3
Constructor and Description |
---|
MurmurHash3() |
Modifier and Type | Method and Description |
---|---|
static Hash |
getInstance() |
int |
hash(byte[] bytes,
int offset,
int length,
int initval)
Returns the MurmurHash3_x86_32 hash.
|
getHashType, getInstance, getInstance, hash, hash, hash, parseHashType
public static Hash getInstance()
public int hash(byte[] bytes, int offset, int length, int initval)