Package 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 Description HiveStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatemakeState(Map<String,Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions)HiveStateFactorywithOptions(HiveOptions options)The options for connecting to Hive.
-
-
-
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:
makeStatein interfaceStateFactory
-
-