public class ParseTaskBolt
extends org.apache.storm.topology.base.BaseRichBolt
DpsTask to StormTaskTuple and it emits result to specific storm stream.| Modifier and Type | Field and Description |
|---|---|
static String |
NOTIFICATION_STREAM_NAME |
protected org.apache.storm.task.OutputCollector |
outputCollector |
Map<String,String> |
routingRules |
protected Map |
stormConfig |
protected org.apache.storm.task.TopologyContext |
topologyContext |
| Constructor and Description |
|---|
ParseTaskBolt(Map<String,String> routingRules)
Constructor for ParseTaskBolt with routing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
declareOutputFields(org.apache.storm.topology.OutputFieldsDeclarer declarer) |
void |
execute(org.apache.storm.tuple.Tuple tuple) |
void |
prepare(Map stormConfig,
org.apache.storm.task.TopologyContext tc,
org.apache.storm.task.OutputCollector oc) |
protected Map stormConfig
protected org.apache.storm.task.TopologyContext topologyContext
protected org.apache.storm.task.OutputCollector outputCollector
public static final String NOTIFICATION_STREAM_NAME
public void declareOutputFields(org.apache.storm.topology.OutputFieldsDeclarer declarer)
public void execute(org.apache.storm.tuple.Tuple tuple)
public void prepare(Map stormConfig, org.apache.storm.task.TopologyContext tc, org.apache.storm.task.OutputCollector oc)
Copyright © 2013–2017 Europeana Cloud Development Team. All rights reserved.