org.apache.storm.hive.trident

## Class HiveStateFactory

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

- All Implemented Interfaces:
    Serializable, StateFactory

      public class HiveStateFactory
      extends Object
      implements StateFactory

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HiveStateFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `State` | `makeState(Map<String,Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions)`
    `HiveStateFactory` | `withOptions(HiveOptions options)` The options for connecting to Hive.

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

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

- - ### Constructor Detail

    - #### HiveStateFactory

          public HiveStateFactory()

  - ### Method Detail

    - #### withOptions

          public HiveStateFactory withOptions(HiveOptions options)

      The options for connecting to Hive.

    - #### makeState

          public State makeState(Map<String,Object> conf,
                                 IMetricsContext metrics,
                                 int partitionIndex,
                                 int numPartitions)

      Specified by:
        `makeState` in interface `StateFactory`

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