Package org.apache.storm.topology
Interface IBasicBolt
- All Superinterfaces:
- IComponent,- Serializable
- All Known Implementing Classes:
- AbstractRankerBolt,- AnchoredWordCount.SplitSentence,- AnchoredWordCount.WordCount,- BaseBasicBolt,- BasicDRPCTopology.ExclaimBolt,- BlobStoreAPIWordCountTopology.FilterWords,- CountBolt,- FastWordCountTopology.SplitSentence,- FastWordCountTopology.WordCount,- IdentityBolt,- InOrderDeliveryTest.Check,- IntermediateRankingsBolt,- LambdaBiConsumerBolt,- LambdaConsumerBolt,- LogInfoBolt,- ManualDRPC.ExclamationBolt,- PrepareBatchBolt,- PrepareRequest,- PrinterBolt,- ReachTopology.GetFollowers,- ReachTopology.GetTweeters,- SplitSentenceBolt,- StatefulTopology.PrinterBolt,- TestConfBolt,- TestPrintBolt,- TestWordBytesCounter,- TestWordCounter,- ThroughputVsLatency.SplitSentence,- ThroughputVsLatency.WordCount,- TotalRankingsBolt,- TridentSpoutCoordinator,- WordCountBolt,- WordCounter,- WordCounter,- WordCountTopologyNode.WordCount
- 
Method SummaryModifier and TypeMethodDescriptionvoidcleanup()voidexecute(Tuple input, BasicOutputCollector collector) Process the input tuple and optionally emit new tuples based on the input tuple.voidprepare(Map<String, Object> topoConf, TopologyContext context) Methods inherited from interface org.apache.storm.topology.IComponentdeclareOutputFields, getComponentConfiguration
- 
Method Details- 
prepare
- 
executeProcess the input tuple and optionally emit new tuples based on the input tuple.All acking is managed for you. Throw a FailedException if you want to fail the tuple. 
- 
cleanupvoid cleanup()
 
-