public class SplitNode
extends org.thales.punch.libraries.storm.api.BaseProcessingNode
| Constructor and Description |
|---|
SplitNode(org.thales.punch.libraries.storm.api.NodeSettings boltConfig,
org.thales.punch.libraries.storm.api.ITopologySettings topoConfig)
Create a new SplitBolt
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
declareOutputFields(org.apache.storm.topology.OutputFieldsDeclarer declarer)
This bolt does not add any new field to the stream.
|
void |
prepare(Map stormConf,
org.apache.storm.task.TopologyContext context,
org.apache.storm.task.OutputCollector collector)
Prepare this bolt.
|
void |
process(org.apache.storm.tuple.Tuple tuple)
The execute method is called by storm whenever some new tuples traverse the topology.
|
public SplitNode(org.thales.punch.libraries.storm.api.NodeSettings boltConfig,
org.thales.punch.libraries.storm.api.ITopologySettings topoConfig)
boltConfig - the bolt configurationtopoConfig - the topo configurationpublic void prepare(Map stormConf, org.apache.storm.task.TopologyContext context, org.apache.storm.task.OutputCollector collector)
prepare in interface org.apache.storm.task.IBoltprepare in class org.thales.punch.libraries.storm.api.BaseProcessingNodepublic void process(org.apache.storm.tuple.Tuple tuple)
process in class org.thales.punch.libraries.storm.api.BaseProcessingNodetuple - the input storm tuple.public void declareOutputFields(org.apache.storm.topology.OutputFieldsDeclarer declarer)
declareOutputFields in interface org.apache.storm.topology.IComponentdeclareOutputFields in class org.thales.punch.libraries.storm.api.BaseProcessingNodepublic void cleanup()
cleanup in interface org.apache.storm.task.IBoltcleanup in class org.thales.punch.libraries.storm.api.BaseProcessingNodeCopyright © 2023. All rights reserved.