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