W
- Type of the window namespace to which timers are scoped.@Internal public interface WindowTimerService<W>
Modifier and Type | Method and Description |
---|---|
long |
currentProcessingTime()
Returns the current processing time.
|
long |
currentWatermark()
Returns the current event-time watermark.
|
ZoneId |
getShiftTimeZone()
The shift timezone of the window, if the proctime or rowtime type is TIMESTAMP_LTZ, the shift
timezone is the timezone user configured in TableConfig, other cases the timezone is UTC
which means never shift when assigning windows.
|
void |
registerEventTimeWindowTimer(W window)
Registers a window timer to be fired when event time watermark passes the window.
|
void |
registerProcessingTimeWindowTimer(W window)
Registers a window timer to be fired when processing time passes the window.
|
ZoneId getShiftTimeZone()
long currentProcessingTime()
long currentWatermark()
void registerProcessingTimeWindowTimer(W window)
void registerEventTimeWindowTimer(W window)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.