org.apache.nutch.crawl

## Class CrawlDbMerger.Merger

- java.lang.Object
- - org.apache.hadoop.mapreduce.Reducer<Text,CrawlDatum,Text,CrawlDatum>
  - - org.apache.nutch.crawl.CrawlDbMerger.Merger

- Enclosing class:
    CrawlDbMerger

      public static class CrawlDbMerger.Merger
      extends Reducer<Text,CrawlDatum,Text,CrawlDatum>

- - ### Nested Class Summary

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

      `Reducer.Context`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Merger()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `void` | `reduce(Text key, java.lang.Iterable<CrawlDatum> 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

    - #### Merger

          public Merger()

  - ### Method Detail

    - #### close

          public void close()
                     throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### setup

          public void setup(Reducer.Context context)

      Overrides:
        `setup` in class `Reducer<Text,CrawlDatum,Text,CrawlDatum>`

    - #### reduce

          public void reduce(Text key,
                             java.lang.Iterable<CrawlDatum> values,
                             Reducer.Context context)
                      throws java.io.IOException,
                             java.lang.InterruptedException

      Overrides:
        `reduce` in class `Reducer<Text,CrawlDatum,Text,CrawlDatum>`
      Throws:
        `java.io.IOException`
        `java.lang.InterruptedException`

Copyright © 2019 The Apache Software Foundation