org.apache.nutch.tools

## Class FreeGenerator.FG.FGMapper

- java.lang.Object
- - org.apache.hadoop.mapreduce.Mapper<WritableComparable<?>,Text,Text,Generator.SelectorEntry>
  - - org.apache.nutch.tools.FreeGenerator.FG.FGMapper

- Enclosing class:
    FreeGenerator.FG

      public static class FreeGenerator.FG.FGMapper
      extends Mapper<WritableComparable<?>,Text,Text,Generator.SelectorEntry>

- - ### Nested Class Summary

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

      `Mapper.Context`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FGMapper()`

  - ### Method Summary

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

    - #### FGMapper

          public FGMapper()

  - ### Method Detail

    - #### setup

          public void setup(Mapper.Context context)

      Overrides:
        `setup` in class `Mapper<WritableComparable<?>,Text,Text,Generator.SelectorEntry>`

    - #### map

          public void map(WritableComparable<?> key,
                          Text value,
                          Mapper.Context context)
                   throws IOException,
                          InterruptedException

      Overrides:
        `map` in class `Mapper<WritableComparable<?>,Text,Text,Generator.SelectorEntry>`
      Throws:
        `IOException`
        `InterruptedException`

Copyright © 2020 The Apache Software Foundation