public static class BuildIndexableAnchorCollection.MyMapper extends org.apache.hadoop.mapred.MapReduceBase implements org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.IntWritable,tl.lin.data.array.ArrayListWritable<AnchorText>,org.apache.hadoop.io.IntWritable,IndexableAnchorText>
| Constructor and Description |
|---|
BuildIndexableAnchorCollection.MyMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.hadoop.mapred.JobConf job) |
void |
map(org.apache.hadoop.io.IntWritable key,
tl.lin.data.array.ArrayListWritable<AnchorText> value,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.IntWritable,IndexableAnchorText> output,
org.apache.hadoop.mapred.Reporter reporter) |
public BuildIndexableAnchorCollection.MyMapper()
public void configure(org.apache.hadoop.mapred.JobConf job)
configure in interface org.apache.hadoop.mapred.JobConfigurableconfigure in class org.apache.hadoop.mapred.MapReduceBasepublic void map(org.apache.hadoop.io.IntWritable key,
tl.lin.data.array.ArrayListWritable<AnchorText> value,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.IntWritable,IndexableAnchorText> output,
org.apache.hadoop.mapred.Reporter reporter)
throws IOException
map in interface org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.IntWritable,tl.lin.data.array.ArrayListWritable<AnchorText>,org.apache.hadoop.io.IntWritable,IndexableAnchorText>IOExceptionCopyright © 2015. All rights reserved.