public interface IWindowedBolt extends IComponent
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
execute(TupleWindow inputWindow)
Process the tuple window and optionally emit new tuples based on the tuples in the input
window.
|
TimestampExtractor |
getTimestampExtractor()
Return a
TimestampExtractor for extracting timestamps from a
tuple for event time based processing, or null for processing time. |
void |
prepare(java.util.Map topoConf,
TopologyContext context,
OutputCollector collector)
This is similar to the
IBolt.prepare(Map, TopologyContext, OutputCollector) except
that while emitting, the tuples are automatically anchored to the tuples in the inputWindow. |
declareOutputFields, getComponentConfiguration
void prepare(java.util.Map topoConf, TopologyContext context, OutputCollector collector)
IBolt.prepare(Map, TopologyContext, OutputCollector)
except
that while emitting, the tuples are automatically anchored to the tuples in the inputWindow.void execute(TupleWindow inputWindow)
void cleanup()
TimestampExtractor getTimestampExtractor()
TimestampExtractor
for extracting timestamps from a
tuple for event time based processing, or null for processing time.