Class JdbcStateFactory
- java.lang.Object
-
- org.apache.storm.jdbc.trident.state.JdbcStateFactory
-
- All Implemented Interfaces:
Serializable
,StateFactory
public class JdbcStateFactory extends Object implements StateFactory
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JdbcStateFactory(JdbcState.Options options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description State
makeState(Map<String,Object> map, IMetricsContext metricsContext, int partitionIndex, int numPartitions)
-
-
-
Constructor Detail
-
JdbcStateFactory
public JdbcStateFactory(JdbcState.Options options)
-
-
Method Detail
-
makeState
public State makeState(Map<String,Object> map, IMetricsContext metricsContext, int partitionIndex, int numPartitions)
- Specified by:
makeState
in interfaceStateFactory
-
-