org.apache.storm.hive.trident

## Class HiveState

- java.lang.Object
- - org.apache.storm.hive.trident.HiveState

- All Implemented Interfaces:
    State

      public class HiveState
      extends Object
      implements State

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HiveState(HiveOptions options)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `beginCommit(Long txId)`
    `void` | `cleanup()`
    `void` | `commit(Long txId)`
    `void` | `prepare(Map<String,Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions)`
    `void` | `updateState(List<TridentTuple> tuples, TridentCollector collector)`

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

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

- - ### Constructor Detail

    - #### HiveState

          public HiveState(HiveOptions options)

  - ### Method Detail

    - #### beginCommit

          public void beginCommit(Long txId)

      Specified by:
        `beginCommit` in interface `State`

    - #### commit

          public void commit(Long txId)

      Specified by:
        `commit` in interface `State`

    - #### prepare

          public void prepare(Map<String,Object> conf,
                              IMetricsContext metrics,
                              int partitionIndex,
                              int numPartitions)

    - #### updateState

          public void updateState(List<TridentTuple> tuples,
                                  TridentCollector collector)

    - #### cleanup

          public void cleanup()

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