@InterfaceAudience.Private @InterfaceStability.Stable public class MurmurHash extends Hash
The C version of MurmurHash 2.0 found at that site was ported to Java by Andrzej Bialecki (ab at getopt org).
| Modifier and Type | Field and Description | 
|---|---|
| private static MurmurHash | _instance | 
INVALID_HASH, JENKINS_HASH, MURMUR_HASH, MURMUR_HASH3| Constructor and Description | 
|---|
| MurmurHash() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Hash | getInstance() | 
| <T> int | hash(HashKey<T> hashKey,
    int seed)Calculate a hash using bytes from HashKey and the provided seed value. | 
getHashType, getInstance, getInstance, parseHashTypeprivate static MurmurHash _instance
public MurmurHash()
public static Hash getInstance()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.