Package org.apache.nutch.scoring.webgraph

## Class NodeDumper.Dumper.DumperMapper

- java.lang.Object
- - org.apache.hadoop.mapreduce.Mapper<Text,​Node,​Text,​FloatWritable>
  - - org.apache.nutch.scoring.webgraph.NodeDumper.Dumper.DumperMapper

- Enclosing class:
    NodeDumper.Dumper

      public static class NodeDumper.Dumper.DumperMapper
      extends Mapper<Text,​Node,​Text,​FloatWritable>

  Outputs the host or domain as key for this record and numInlinks, numOutlinks or score as the value.

- - ### Nested Class Summary

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

      `Mapper.Context`

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `map​(Text key, Node node, 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

    - #### DumperMapper

          public DumperMapper()

  - ### Method Detail

    - #### setup

          public void setup​(Mapper.Context context)

      Overrides:
        `setup` in class `Mapper<Text,​Node,​Text,​FloatWritable>`

    - #### map

          public void map​(Text key,
                          Node node,
                          Mapper.Context context)
                   throws IOException,
                          InterruptedException

      Overrides:
        `map` in class `Mapper<Text,​Node,​Text,​FloatWritable>`
      Throws:
        `IOException`
        `InterruptedException`