Package org.apache.nutch.parse
Class ParseSegment.ParseSegmentMapper
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Mapper<WritableComparable<?>,Content,Text,ParseImpl>
-
- org.apache.nutch.parse.ParseSegment.ParseSegmentMapper
-
- Enclosing class:
- ParseSegment
public static class ParseSegment.ParseSegmentMapper extends Mapper<WritableComparable<?>,Content,Text,ParseImpl>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
Mapper.Context
-
-
Constructor Summary
Constructors Constructor Description ParseSegmentMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
map(WritableComparable<?> key, Content content, Mapper.Context context)
void
setup(Mapper.Context context)
-
-
-
Method Detail
-
setup
public void setup(Mapper.Context context)
-
map
public void map(WritableComparable<?> key, Content content, Mapper.Context context) throws IOException, InterruptedException
- Overrides:
map
in classMapper<WritableComparable<?>,Content,Text,ParseImpl>
- Throws:
IOException
InterruptedException
-
-