public class ExclamationBolt extends Object implements org.apache.storm.topology.IRichBolt
exclamation.count
.Modifier and Type | Field and Description |
---|---|
static String |
EXCLAMATION_COUNT |
Constructor and Description |
---|
ExclamationBolt() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
declareOutputFields(org.apache.storm.topology.OutputFieldsDeclarer declarer) |
void |
execute(org.apache.storm.tuple.Tuple tuple) |
Map<String,Object> |
getComponentConfiguration() |
void |
prepare(Map conf,
org.apache.storm.task.TopologyContext context,
org.apache.storm.task.OutputCollector collector) |
public static final String EXCLAMATION_COUNT
public void prepare(Map conf, org.apache.storm.task.TopologyContext context, org.apache.storm.task.OutputCollector collector)
prepare
in interface org.apache.storm.task.IBolt
public void cleanup()
cleanup
in interface org.apache.storm.task.IBolt
public void execute(org.apache.storm.tuple.Tuple tuple)
execute
in interface org.apache.storm.task.IBolt
public void declareOutputFields(org.apache.storm.topology.OutputFieldsDeclarer declarer)
declareOutputFields
in interface org.apache.storm.topology.IComponent
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.