Class JdbcState
java.lang.Object
org.apache.storm.jdbc.trident.state.JdbcState
- All Implemented Interfaces:
State
-
Nested Class Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
JdbcState
(Map<String, Object> map, int partitionIndex, int numPartitions, JdbcState.Options options) -
Method Summary
Modifier and TypeMethodDescriptionbatchRetrieve
(List<TridentTuple> tridentTuples) void
beginCommit
(Long someLong) void
protected void
prepare()
void
updateState
(List<TridentTuple> tuples, TridentCollector collector)
-
Constructor Details
-
JdbcState
protected JdbcState(Map<String, Object> map, int partitionIndex, int numPartitions, JdbcState.Options options)
-
-
Method Details
-
prepare
protected void prepare() -
beginCommit
- Specified by:
beginCommit
in interfaceState
-
commit
-
updateState
-
batchRetrieve
-