Package org.apache.storm.hive.trident
Class HiveStateFactory
java.lang.Object
org.apache.storm.hive.trident.HiveStateFactory
- All Implemented Interfaces:
Serializable
,StateFactory
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmakeState
(Map<String, Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions) withOptions
(HiveOptions options) The options for connecting to Hive.
-
Constructor Details
-
HiveStateFactory
public HiveStateFactory()
-
-
Method Details
-
withOptions
The options for connecting to Hive. -
makeState
public State makeState(Map<String, Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions) - Specified by:
makeState
in interfaceStateFactory
-