org.apache.nutch.scoring.webgraph

## Class ScoreUpdater.ScoreUpdaterMapper

- java.lang.Object
- - org.apache.hadoop.mapreduce.Mapper<Text,Writable,Text,ObjectWritable>
  - - org.apache.nutch.scoring.webgraph.ScoreUpdater.ScoreUpdaterMapper

- Enclosing class:
    ScoreUpdater

      public static class ScoreUpdater.ScoreUpdaterMapper
      extends Mapper<Text,Writable,Text,ObjectWritable>

  Changes input into ObjectWritables.

- - ### Nested Class Summary

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

      `Mapper.Context`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ScoreUpdaterMapper()`

  - ### Method Summary

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

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

      `cleanup, run, setup`

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

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

- - ### Constructor Detail

    - #### ScoreUpdaterMapper

          public ScoreUpdaterMapper()

  - ### Method Detail

    - #### map

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

      Overrides:
        `map` in class `Mapper<Text,Writable,Text,ObjectWritable>`
      Throws:
        `IOException`
        `InterruptedException`

Copyright © 2021 The Apache Software Foundation