org.apache.solr.hadoop

## Class SolrMapper<KEYIN,VALUEIN>

- java.lang.Object
- - org.apache.hadoop.mapreduce.Mapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,SolrInputDocumentWritable>
  - - org.apache.solr.hadoop.SolrMapper<KEYIN,VALUEIN>

- Direct Known Subclasses:
    MorphlineMapper

      public class SolrMapper<KEYIN,VALUEIN>
      extends org.apache.hadoop.mapreduce.Mapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,SolrInputDocumentWritable>

- - ### Nested Class Summary

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

      `org.apache.hadoop.mapreduce.Mapper.Context`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SolrMapper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected org.apache.hadoop.fs.Path` | `getSolrHomeDir()`
    `protected void` | `setup(org.apache.hadoop.mapreduce.Mapper.Context context)`

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

      `cleanup, map, run`

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

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

- - ### Constructor Detail

    - #### SolrMapper

          public SolrMapper()

  - ### Method Detail

    - #### setup

          protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
                        throws IOException,
                               InterruptedException

      Overrides:
        `setup` in class `org.apache.hadoop.mapreduce.Mapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,SolrInputDocumentWritable>`
      Throws:
        `IOException`
        `InterruptedException`

    - #### getSolrHomeDir

          protected org.apache.hadoop.fs.Path getSolrHomeDir()

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.