Class JdbcState
java.lang.Object
org.apache.storm.jdbc.trident.state.JdbcState
- All Implemented Interfaces:
State
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJdbcState(Map<String, Object> map, int partitionIndex, int numPartitions, JdbcState.Options options) -
Method Summary
Modifier and TypeMethodDescriptionbatchRetrieve(List<TridentTuple> tridentTuples) voidbeginCommit(Long someLong) voidprotected voidprepare()voidupdateState(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:
beginCommitin interfaceState
-
commit
-
updateState
-
batchRetrieve
-