protected static class ComputeWeight.Partition extends Object implements org.apache.hadoop.mapred.Partitioner<tl.lin.data.pair.PairOfInts,tl.lin.data.array.ArrayListWritable<AnchorText>>
| Modifier | Constructor and Description |
|---|---|
protected |
ComputeWeight.Partition() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.hadoop.mapred.JobConf job) |
int |
getPartition(tl.lin.data.pair.PairOfInts key,
tl.lin.data.array.ArrayListWritable<AnchorText> value,
int numReduceTasks) |
public void configure(org.apache.hadoop.mapred.JobConf job)
configure in interface org.apache.hadoop.mapred.JobConfigurablepublic int getPartition(tl.lin.data.pair.PairOfInts key,
tl.lin.data.array.ArrayListWritable<AnchorText> value,
int numReduceTasks)
getPartition in interface org.apache.hadoop.mapred.Partitioner<tl.lin.data.pair.PairOfInts,tl.lin.data.array.ArrayListWritable<AnchorText>>Copyright © 2015. All rights reserved.