Package org.apache.nutch.scoring.webgraph

## Class LinkDumper.Inverter.InvertMapper

- java.lang.Object
- - org.apache.hadoop.mapreduce.Mapper<Text,​Writable,​Text,​ObjectWritable>
  - - org.apache.nutch.scoring.webgraph.LinkDumper.Inverter.InvertMapper

- Enclosing class:
    LinkDumper.Inverter

      public static class LinkDumper.Inverter.InvertMapper
      extends Mapper<Text,​Writable,​Text,​ObjectWritable>

  Wraps all values in ObjectWritables.

- - ### Nested Class Summary

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

      `Mapper.Context`

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | 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

    - #### InvertMapper

          public InvertMapper()

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