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