@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.
Modifier and Type | Field and Description |
---|---|
private static MurmurHash3 |
_instance |
INVALID_HASH, JENKINS_HASH, MURMUR_HASH, MURMUR_HASH3
Constructor and Description |
---|
MurmurHash3() |
Modifier and Type | Method and Description |
---|---|
static Hash |
getInstance() |
<T> int |
hash(HashKey<T> hashKey,
int initval)
Returns the MurmurHash3_x86_32 hash.
|
getHashType, getInstance, getInstance, parseHashType
private static MurmurHash3 _instance
public MurmurHash3()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.