public class HasherPartitioner extends TupleHasher implements Configurable
As of Cascading 2.7 the hashing used to calculate partitions has been changed to use Murmur3. Users that rely on the
old behaviour should set HASHER_PARTITIONER_USE_LEGACY_HASH
to
true
.
TupleHasher.HashFunction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HASHER_PARTITIONER_USE_LEGACY_HASH |
hashFunction
Constructor and Description |
---|
HasherPartitioner() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConf() |
void |
setConf(Configuration conf) |
getHashFunction, hashCode, initialize, isNull, merge, wrapTuple
public static final java.lang.String HASHER_PARTITIONER_USE_LEGACY_HASH
public HasherPartitioner()
public void setConf(Configuration conf)
setConf
in interface Configurable
public Configuration getConf()
getConf
in interface Configurable
Copyright © 2007-2017 Cascading Maintainers. All Rights Reserved.