public class WeightedRangePartitionerTez extends WeightedRangePartitioner
comparator, inited, job, quantiles, weightedParts
Constructor and Description |
---|
WeightedRangePartitionerTez() |
Modifier and Type | Method and Description |
---|---|
int |
getPartition(PigNullableWritable key,
org.apache.hadoop.io.Writable value,
int numPartitions) |
void |
init() |
convertToArray, getConf, getPigNullableWritable, getProbVec, setConf
public int getPartition(PigNullableWritable key, org.apache.hadoop.io.Writable value, int numPartitions)
getPartition
in class WeightedRangePartitioner
public void init()
init
in class WeightedRangePartitioner
Copyright © 2007-2012 The Apache Software Foundation