Package org.apache.storm.hive.trident
Class HiveState
java.lang.Object
org.apache.storm.hive.trident.HiveState
- All Implemented Interfaces:
State
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeginCommit(Long txId) voidcleanup()voidvoidprepare(Map<String, Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions) voidupdateState(List<TridentTuple> tuples, TridentCollector collector)
-
Constructor Details
-
HiveState
-
-
Method Details
-
beginCommit
- Specified by:
beginCommitin interfaceState
-
commit
-
prepare
public void prepare(Map<String, Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions) -
updateState
-
cleanup
public void cleanup()
-