Package org.apache.nutch.segment

## Class SegmentReader.InputCompatReducer

- java.lang.Object
- - org.apache.hadoop.mapreduce.Reducer<Text,​NutchWritable,​Text,​Text>
  - - org.apache.nutch.segment.SegmentReader.InputCompatReducer

- Enclosing class:
    SegmentReader

      public static class SegmentReader.InputCompatReducer
      extends Reducer<Text,​NutchWritable,​Text,​Text>

- - ### Nested Class Summary

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

      `Reducer.Context`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `InputCompatReducer()` |

  - ### 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)` |

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

      `cleanup, run`

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

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

- - ### Constructor Detail

    - #### InputCompatReducer

          public InputCompatReducer()

  - ### Method Detail

    - #### setup

          public void setup​(Reducer.Context context)

      Overrides:
        `setup` in class `Reducer<Text,​NutchWritable,​Text,​Text>`

    - #### reduce

          public void reduce​(Text key,
                             Iterable<NutchWritable> values,
                             Reducer.Context context)
                      throws IOException,
                             InterruptedException

      Overrides:
        `reduce` in class `Reducer<Text,​NutchWritable,​Text,​Text>`
      Throws:
        `IOException`
        `InterruptedException`