@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).
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, parseHashType
public static Hash getInstance()
Copyright © 2007–2019 Cloudera. All rights reserved.