public interface Window<L,I> extends Serializable
The window specification within 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()
The length of the window.
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. This is used of event-time based processing. If this config is set and the field is not present in the incoming tuple, an IllegalArgumentException
will be thrown.
String getLateTupleStream()
The name of the stream where late arriving tuples should be emitted. If this is not provided, the late tuples would be discarded.
BaseWindowedBolt.Duration getLag()
The maximum time lag of the tuple timestamp in milliseconds. It means that the tuple timestamps cannot be out of order by more than this amount.
Copyright © 2020 The Apache Software Foundation. All rights reserved.