org.apache.nutch.indexer

## Class CleaningJob.CleanReducer

- java.lang.Object
- - org.apache.hadoop.mapreduce.Reducer<String,WebPage,NullWritable,NullWritable>
  - - org.apache.nutch.indexer.CleaningJob.CleanReducer

- Enclosing class:
    CleaningJob

      public static class CleaningJob.CleanReducer
      extends Reducer<String,WebPage,NullWritable,NullWritable>

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer

      `Reducer.Context`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CleaningJob.CleanReducer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `cleanup(Reducer.Context context)`
    `void` | `reduce(String key, Iterable<WebPage> values, Reducer.Context context)`
    `void` | `setup(Reducer.Context job)`

    - ### Methods inherited from class org.apache.hadoop.mapreduce.Reducer

      `run`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CleaningJob.CleanReducer

          public CleaningJob.CleanReducer()

  - ### Method Detail

    - #### setup

          public void setup(Reducer.Context job)
                     throws IOException

      Overrides:
        `setup` in class `Reducer<String,WebPage,NullWritable,NullWritable>`
      Throws:
        `IOException`

    - #### reduce

          public void reduce(String key,
                    Iterable<WebPage> values,
                    Reducer.Context context)
                      throws IOException

      Overrides:
        `reduce` in class `Reducer<String,WebPage,NullWritable,NullWritable>`
      Throws:
        `IOException`

    - #### cleanup

          public void cleanup(Reducer.Context context)
                       throws IOException

      Overrides:
        `cleanup` in class `Reducer<String,WebPage,NullWritable,NullWritable>`
      Throws:
        `IOException`

Copyright © 2015 The Apache Software Foundation