public static class TrecExtractLinks.Map extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,WebDocument,org.apache.hadoop.io.Text,tl.lin.data.array.ArrayListWritable<AnchorText>>
| Modifier and Type | Class and Description |
|---|---|
static class |
TrecExtractLinks.Map.LinkCounter |
| Constructor and Description |
|---|
TrecExtractLinks.Map() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(org.apache.hadoop.io.LongWritable key,
WebDocument doc,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
public void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException
setup in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,WebDocument,org.apache.hadoop.io.Text,tl.lin.data.array.ArrayListWritable<AnchorText>>IOExceptionpublic void map(org.apache.hadoop.io.LongWritable key,
WebDocument doc,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,WebDocument,org.apache.hadoop.io.Text,tl.lin.data.array.ArrayListWritable<AnchorText>>IOExceptionInterruptedExceptionCopyright © 2015. All rights reserved.