org.apache.nutch.indexwriter.solr

## Class SolrMappingReader

- java.lang.Object
- - org.apache.nutch.indexwriter.solr.SolrMappingReader

-     public class SolrMappingReader
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static org.slf4j.Logger` | `LOG`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `SolrMappingReader(Configuration conf)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,String>` | `getCopyMap()`
    `static SolrMappingReader` | `getInstance(Configuration conf)`
    `Map<String,String>` | `getKeyMap()`
    `String` | `getUniqueKey()`
    `String` | `hasCopy(String key)`
    `String` | `mapCopyKey(String key)`
    `String` | `mapKey(String key)`

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

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

- - ### Field Detail

    - #### LOG

          public static org.slf4j.Logger LOG

  - ### Constructor Detail

    - #### SolrMappingReader

          protected SolrMappingReader(Configuration conf)

  - ### Method Detail

    - #### getInstance

          public static SolrMappingReader getInstance(Configuration conf)

    - #### getKeyMap

          public Map<String,String> getKeyMap()

    - #### getCopyMap

          public Map<String,String> getCopyMap()

    - #### getUniqueKey

          public String getUniqueKey()

    - #### hasCopy

          public String hasCopy(String key)

    - #### mapKey

          public String mapKey(String key)
                        throws IOException

      Throws:
        `IOException`

    - #### mapCopyKey

          public String mapCopyKey(String key)
                            throws IOException

      Throws:
        `IOException`

Copyright © 2015 The Apache Software Foundation