|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object backtype.storm.topology.base.BaseComponent backtype.storm.topology.base.BaseBasicBolt backtype.storm.testing.TestWordCounter
public class TestWordCounter
Field Summary | |
---|---|
static Logger |
LOG
|
Constructor Summary | |
---|---|
TestWordCounter()
|
Method Summary | |
---|---|
void |
cleanup()
|
void |
declareOutputFields(OutputFieldsDeclarer declarer)
Declare the output schema for all the streams of this topology. |
void |
execute(Tuple input,
BasicOutputCollector collector)
|
void |
prepare(java.util.Map stormConf,
TopologyContext context)
|
Methods inherited from class backtype.storm.topology.base.BaseComponent |
---|
getComponentConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface backtype.storm.topology.IComponent |
---|
getComponentConfiguration |
Field Detail |
---|
public static Logger LOG
Constructor Detail |
---|
public TestWordCounter()
Method Detail |
---|
public void prepare(java.util.Map stormConf, TopologyContext context)
prepare
in interface IBasicBolt
prepare
in class BaseBasicBolt
public void execute(Tuple input, BasicOutputCollector collector)
public void cleanup()
cleanup
in interface IBasicBolt
cleanup
in class BaseBasicBolt
public void declareOutputFields(OutputFieldsDeclarer declarer)
IComponent
declarer
- this is used to declare output stream ids, output fields, and whether or not each output stream is a direct stream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |