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