public class CoGroupingPartitioner extends HasherPartitioner implements org.apache.tez.runtime.library.api.Partitioner
Partitioner
.TupleHasher.HashFunction
HASHER_PARTITIONER_USE_LEGACY_HASH
hashFunction
Constructor and Description |
---|
CoGroupingPartitioner(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
int |
getPartition(java.lang.Object key,
java.lang.Object value,
int numReduceTasks) |
getConf, setConf
getHashFunction, hashCode, initialize, isNull, merge, wrapTuple
public CoGroupingPartitioner(Configuration configuration)
public int getPartition(java.lang.Object key, java.lang.Object value, int numReduceTasks)
getPartition
in interface org.apache.tez.runtime.library.api.Partitioner
Copyright © 2007-2017 Cascading Maintainers. All Rights Reserved.