org.apache.nutch.crawl

## Class CrawlDbReader.CrawlDbStatMapper

- java.lang.Object
- - org.apache.hadoop.mapreduce.Mapper<Text,CrawlDatum,Text,NutchWritable>
  - - org.apache.nutch.crawl.CrawlDbReader.CrawlDbStatMapper

- Enclosing class:
    CrawlDbReader

      public static class CrawlDbReader.CrawlDbStatMapper
      extends Mapper<Text,CrawlDatum,Text,NutchWritable>

- - ### Nested Class Summary

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

      `Mapper.Context`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CrawlDbStatMapper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `map(Text key, CrawlDatum value, Mapper.Context context)`
    `void` | `setup(Mapper.Context context)`

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

      `cleanup, run`

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

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

- - ### Constructor Detail

    - #### CrawlDbStatMapper

          public CrawlDbStatMapper()

  - ### Method Detail

    - #### setup

          public void setup(Mapper.Context context)

      Overrides:
        `setup` in class `Mapper<Text,CrawlDatum,Text,NutchWritable>`

    - #### map

          public void map(Text key,
                          CrawlDatum value,
                          Mapper.Context context)
                   throws IOException,
                          InterruptedException

      Overrides:
        `map` in class `Mapper<Text,CrawlDatum,Text,NutchWritable>`
      Throws:
        `IOException`
        `InterruptedException`

Copyright © 2021 The Apache Software Foundation