public class TestWindowBolt extends BaseWindowedBolt
BaseWindowedBolt.Count, BaseWindowedBolt.Duration
windowConfiguration
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, withWindow
public void prepare(Map stormConf, TopologyContext context, OutputCollector collector)
prepare
in interface IWindowedBolt
prepare
in class BaseWindowedBolt
public void execute(TupleWindow inputWindow)
public void declareOutputFields(OutputFieldsDeclarer declarer)
declareOutputFields
in interface IComponent
declareOutputFields
in class BaseWindowedBolt
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.