public abstract class AbstractLineSpout extends Object implements backtype.storm.topology.IRichSpout
line and should be of type String.| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_LINE |
protected backtype.storm.spout.SpoutOutputCollector |
collector |
| Constructor and Description |
|---|
AbstractLineSpout() |
| Modifier and Type | Method and Description |
|---|---|
void |
ack(Object msgId) |
void |
activate() |
void |
close() |
void |
deactivate() |
void |
declareOutputFields(backtype.storm.topology.OutputFieldsDeclarer declarer) |
void |
fail(Object msgId) |
Map<String,Object> |
getComponentConfiguration() |
void |
open(Map conf,
backtype.storm.task.TopologyContext context,
backtype.storm.spout.SpoutOutputCollector collector) |
public static final String ATTRIBUTE_LINE
protected backtype.storm.spout.SpoutOutputCollector collector
public void open(Map conf, backtype.storm.task.TopologyContext context, backtype.storm.spout.SpoutOutputCollector collector)
open in interface backtype.storm.spout.ISpoutpublic void close()
close in interface backtype.storm.spout.ISpoutpublic void activate()
activate in interface backtype.storm.spout.ISpoutpublic void deactivate()
deactivate in interface backtype.storm.spout.ISpoutpublic void ack(Object msgId)
ack in interface backtype.storm.spout.ISpoutpublic void fail(Object msgId)
fail in interface backtype.storm.spout.ISpoutpublic void declareOutputFields(backtype.storm.topology.OutputFieldsDeclarer declarer)
declareOutputFields in interface backtype.storm.topology.IComponentCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.