edu.umd.cloud9.collection
Class ExtractHTMLFieldCollection.MyMapper

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<LongWritable,Indexable,LongWritable,TextDocument>
      extended by edu.umd.cloud9.collection.ExtractHTMLFieldCollection.MyMapper
Enclosing class:
ExtractHTMLFieldCollection

public static class ExtractHTMLFieldCollection.MyMapper
extends Mapper<LongWritable,Indexable,LongWritable,TextDocument>


Nested Class Summary
static class ExtractHTMLFieldCollection.MyMapper.HeadingTagFilter
           
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
Mapper.Context
 
Constructor Summary
ExtractHTMLFieldCollection.MyMapper()
           
 
Method Summary
 void map(LongWritable key, Indexable doc, Mapper.Context context)
           
 void setup(Mapper.Context context)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.Mapper
run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtractHTMLFieldCollection.MyMapper

public ExtractHTMLFieldCollection.MyMapper()
Method Detail

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