public class JoinPartitioner
extends <any>
Partitioner. Loads a previously generated PartitioningResult and distributes the spatial partitions among the reducers so each reducer processes approximately the same number of records.ConfigParams.PARTITIONING_RESULT| Constructor and Description |
|---|
JoinPartitioner() |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getConf() |
int |
getPartition(JoinGroupWritable key, RecordInfo value, int numPartitions) |
void |
setConf(Configuration conf) |
public Configuration getConf()
public int getPartition(JoinGroupWritable key, RecordInfo value, int numPartitions)
public void setConf(Configuration conf)
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.