Package org.apache.storm.topology
Class IRichBoltDelegate
- java.lang.Object
-
- org.apache.storm.topology.IRichBoltDelegate
-
- All Implemented Interfaces:
Serializable,org.apache.heron.api.bolt.IBolt,org.apache.heron.api.bolt.IRichBolt,org.apache.heron.api.topology.IComponent,org.apache.heron.api.topology.IUpdatable
public class IRichBoltDelegate extends Object implements org.apache.heron.api.bolt.IRichBolt, org.apache.heron.api.topology.IUpdatable
When writing topologies using Java,IRichBoltandIRichSpoutare the main interfaces to use to implement components of the topology.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IRichBoltDelegate(IRichBolt delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()voiddeclareOutputFields(org.apache.heron.api.topology.OutputFieldsDeclarer declarer)voidexecute(org.apache.heron.api.tuple.Tuple tuple)Map<String,Object>getComponentConfiguration()voidprepare(Map<String,Object> conf, org.apache.heron.api.topology.TopologyContext context, org.apache.heron.api.bolt.OutputCollector collector)voidupdate(org.apache.heron.api.topology.TopologyContext topologyContext)
-
-
-
Constructor Detail
-
IRichBoltDelegate
public IRichBoltDelegate(IRichBolt delegate)
-
-
Method Detail
-
prepare
public void prepare(Map<String,Object> conf, org.apache.heron.api.topology.TopologyContext context, org.apache.heron.api.bolt.OutputCollector collector)
- Specified by:
preparein interfaceorg.apache.heron.api.bolt.IBolt
-
cleanup
public void cleanup()
- Specified by:
cleanupin interfaceorg.apache.heron.api.bolt.IBolt
-
execute
public void execute(org.apache.heron.api.tuple.Tuple tuple)
- Specified by:
executein interfaceorg.apache.heron.api.bolt.IBolt
-
declareOutputFields
public void declareOutputFields(org.apache.heron.api.topology.OutputFieldsDeclarer declarer)
- Specified by:
declareOutputFieldsin interfaceorg.apache.heron.api.topology.IComponent
-
getComponentConfiguration
public Map<String,Object> getComponentConfiguration()
- Specified by:
getComponentConfigurationin interfaceorg.apache.heron.api.topology.IComponent
-
update
public void update(org.apache.heron.api.topology.TopologyContext topologyContext)
- Specified by:
updatein interfaceorg.apache.heron.api.topology.IUpdatable
-
-