org.apache.storm.solr.trident

## Class SolrState

- java.lang.Object
- - org.apache.storm.solr.trident.SolrState

- All Implemented Interfaces:
    State

      public class SolrState
      extends Object
      implements State

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SolrState(SolrConfig solrConfig, SolrMapper solrMapper)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `beginCommit(Long someLong)`
    `void` | `commit(Long someLong)`
    `protected void` | `prepare()`
    `void` | `updateState(List<TridentTuple> tuples)`

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

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

- - ### Constructor Detail

    - #### SolrState

          public SolrState(SolrConfig solrConfig,
                           SolrMapper solrMapper)

  - ### Method Detail

    - #### prepare

          protected void prepare()

    - #### beginCommit

          public void beginCommit(Long someLong)

      Specified by:
        `beginCommit` in interface `State`

    - #### commit

          public void commit(Long someLong)

      Specified by:
        `commit` in interface `State`

    - #### updateState

          public void updateState(List<TridentTuple> tuples)

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