org.apache.storm.solr.mapper

## Interface SolrMapper

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    SolrFieldsMapper, SolrJsonMapper

      public interface SolrMapper
      extends Serializable

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `configure()`
    `String` | `getCollection()`
    `org.apache.solr.client.solrj.SolrRequest` | `toSolrRequest(ITuple tuple)`
    `org.apache.solr.client.solrj.SolrRequest` | `toSolrRequest(List<? extends ITuple> tuples)`

- - ### Method Detail

    - #### configure

          default void configure()

    - #### getCollection

          String getCollection()

    - #### toSolrRequest

          org.apache.solr.client.solrj.SolrRequest toSolrRequest(ITuple tuple)
                                                          throws SolrMapperException

      Throws:
        `SolrMapperException`

    - #### toSolrRequest

          org.apache.solr.client.solrj.SolrRequest toSolrRequest(List<? extends ITuple> tuples)
                                                          throws SolrMapperException

      Throws:
        `SolrMapperException`

Copyright © 2021 The Apache Software Foundation. All rights reserved.