public class TestWindowBolt extends BaseWindowedBolt
BaseWindowedBolt.Count, BaseWindowedBolt.DurationwindowConfiguration| Constructor and Description |
|---|
TestWindowBolt() |
| Modifier and Type | Method and Description |
|---|---|
void |
declareOutputFields(OutputFieldsDeclarer declarer) |
void |
execute(TupleWindow inputWindow) |
void |
prepare(Map stormConf,
TopologyContext context,
OutputCollector collector) |
cleanup, getComponentConfiguration, withLag, withTimestampField, withTumblingWindow, withTumblingWindow, withWatermarkInterval, withWindow, withWindow, withWindow, withWindow, withWindow, withWindowpublic void prepare(Map stormConf, TopologyContext context, OutputCollector collector)
prepare in interface IWindowedBoltprepare in class BaseWindowedBoltpublic void execute(TupleWindow inputWindow)
public void declareOutputFields(OutputFieldsDeclarer declarer)
declareOutputFields in interface IComponentdeclareOutputFields in class BaseWindowedBoltCopyright © 2018 The Apache Software Foundation. All Rights Reserved.