org.apache.nutch.parse

## Class ParseSegment.ParseSegmentMapper

- java.lang.Object
- - org.apache.hadoop.mapreduce.Mapper<WritableComparable<?>,Content,Text,ParseImpl>
  - - org.apache.nutch.parse.ParseSegment.ParseSegmentMapper

- Enclosing class:
    ParseSegment

      public static class ParseSegment.ParseSegmentMapper
      extends Mapper<WritableComparable<?>,Content,Text,ParseImpl>

- - ### Nested Class Summary

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

      `Mapper.Context`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParseSegmentMapper()`

  - ### Method Summary

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

    - #### ParseSegmentMapper

          public ParseSegmentMapper()

  - ### Method Detail

    - #### setup

          public void setup(Mapper.Context context)

      Overrides:
        `setup` in class `Mapper<WritableComparable<?>,Content,Text,ParseImpl>`

    - #### map

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

      Overrides:
        `map` in class `Mapper<WritableComparable<?>,Content,Text,ParseImpl>`
      Throws:
        `IOException`
        `InterruptedException`

Copyright © 2021 The Apache Software Foundation