Uses of Class
org.apache.storm.topology.base.BaseStatefulWindowedBolt
-
Uses of BaseStatefulWindowedBolt in org.apache.storm.topology.base
Modifier and TypeMethodDescriptionBaseStatefulWindowedBolt.withLag
(BaseWindowedBolt.Duration duration) Specify the maximum time lag of the tuple timestamp in milliseconds.BaseStatefulWindowedBolt.withLateTupleStream
(String streamName) Specify a stream id on which late tuples are going to be emitted.BaseStatefulWindowedBolt.withMaxEventsInMemory
(long maxEventsInMemory) The maximum number of window events to keep in memory.BaseStatefulWindowedBolt.withMessageIdField
(String fieldName) Specify the name of the field in the tuple that holds the message id.BaseStatefulWindowedBolt.withPersistence()
If set, the stateful windowed bolt would use the backend state for window persistence and only keep a sub-set of events in memory as specified bywithMaxEventsInMemory(long)
.BaseStatefulWindowedBolt.withTimestampExtractor
(TimestampExtractor timestampExtractor) Specify the timestamp extractor implementation.BaseStatefulWindowedBolt.withTimestampField
(String fieldName) Specify a field in the tuple that represents the timestamp as a long value.BaseStatefulWindowedBolt.withTumblingWindow
(BaseWindowedBolt.Count count) A count based tumbling window.BaseStatefulWindowedBolt.withTumblingWindow
(BaseWindowedBolt.Duration duration) A time duration based tumbling window.BaseStatefulWindowedBolt.withWatermarkInterval
(BaseWindowedBolt.Duration interval) Specify the watermark event generation interval.BaseStatefulWindowedBolt.withWindow
(BaseWindowedBolt.Count windowLength) A tuple count based window that slides with every incoming tuple.BaseStatefulWindowedBolt.withWindow
(BaseWindowedBolt.Count windowLength, BaseWindowedBolt.Count slidingInterval) Tuple count based sliding window configuration.BaseStatefulWindowedBolt.withWindow
(BaseWindowedBolt.Count windowLength, BaseWindowedBolt.Duration slidingInterval) Tuple count and time duration based sliding window configuration.BaseStatefulWindowedBolt.withWindow
(BaseWindowedBolt.Duration windowLength) A time duration based window that slides with every incoming tuple.BaseStatefulWindowedBolt.withWindow
(BaseWindowedBolt.Duration windowLength, BaseWindowedBolt.Count slidingInterval) Time duration and count based sliding window configuration.BaseStatefulWindowedBolt.withWindow
(BaseWindowedBolt.Duration windowLength, BaseWindowedBolt.Duration slidingInterval) Time duration based sliding window configuration.