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