L
- the type of window length parameter (E.g. Count, Duration)I
- the type of the sliding interval parameter (E.g. Count, Duration)public interface Window<L,I> extends Serializable
Stream
.Modifier and Type | Method and Description |
---|---|
BaseWindowedBolt.Duration |
getLag()
The maximum time lag of the tuple timestamp in milliseconds.
|
String |
getLateTupleStream()
The name of the stream where late arriving tuples should be emitted.
|
I |
getSlidingInterval()
The sliding interval of the window.
|
String |
getTimestampField()
The name of the field in the tuple that contains the timestamp when the event occurred as a long value.
|
L |
getWindowLength()
The length of the window.
|
L getWindowLength()
I getSlidingInterval()
String getTimestampField()
IllegalArgumentException
will
be thrown.String getLateTupleStream()
BaseWindowedBolt.Duration getLag()
Copyright © 2023 The Apache Software Foundation. All rights reserved.