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