程序包 | 说明 |
---|---|
org.apache.hadoop.util.hash |
限定符和类型 | 类和说明 |
---|---|
class |
JenkinsHash
Produces 32-bit hash for hash table lookup.
|
class |
MurmurHash
This is a very fast, non-cryptographic hash suitable for general hash-based
lookup.
|
限定符和类型 | 方法和说明 |
---|---|
static Hash |
MurmurHash.getInstance() |
static Hash |
JenkinsHash.getInstance() |
static Hash |
Hash.getInstance(Configuration conf)
Get a singleton instance of hash function of a type
defined in the configuration.
|
static Hash |
Hash.getInstance(int type)
Get a singleton instance of hash function of a given type.
|
Copyright © 2009 The Apache Software Foundation