edu.umd.cloud9.collection
Class ExtractHTMLFieldCollection.MyMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<LongWritable,Indexable,LongWritable,TextDocument>
edu.umd.cloud9.collection.ExtractHTMLFieldCollection.MyMapper
- Enclosing class:
- ExtractHTMLFieldCollection
public static class ExtractHTMLFieldCollection.MyMapper
- extends Mapper<LongWritable,Indexable,LongWritable,TextDocument>
| Methods inherited from class org.apache.hadoop.mapreduce.Mapper |
run |
ExtractHTMLFieldCollection.MyMapper
public ExtractHTMLFieldCollection.MyMapper()
setup
public void setup(Mapper.Context context)
throws IOException
- Overrides:
setup in class Mapper<LongWritable,Indexable,LongWritable,TextDocument>
- Throws:
IOException
map
public void map(LongWritable key,
Indexable doc,
Mapper.Context context)
throws IOException,
InterruptedException
- Overrides:
map in class Mapper<LongWritable,Indexable,LongWritable,TextDocument>
- Throws:
IOException
InterruptedException