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