public abstract class WindowTimerServiceBase<W> extends Object implements WindowTimerService<W>
WindowTimerService.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.flink.streaming.api.operators.InternalTimerService<W> |
internalTimerService |
protected java.time.ZoneId |
shiftTimeZone |
| Constructor and Description |
|---|
WindowTimerServiceBase(org.apache.flink.streaming.api.operators.InternalTimerService<W> internalTimerService,
java.time.ZoneId shiftTimeZone) |
| Modifier and Type | Method and Description |
|---|---|
long |
currentProcessingTime()
Returns the current processing time.
|
long |
currentWatermark()
Returns the current event-time watermark.
|
java.time.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterEventTimeWindowTimer, registerProcessingTimeWindowTimerprotected final org.apache.flink.streaming.api.operators.InternalTimerService<W> internalTimerService
protected final java.time.ZoneId shiftTimeZone
public WindowTimerServiceBase(org.apache.flink.streaming.api.operators.InternalTimerService<W> internalTimerService, java.time.ZoneId shiftTimeZone)
public java.time.ZoneId getShiftTimeZone()
WindowTimerServicegetShiftTimeZone in interface WindowTimerService<W>public long currentProcessingTime()
WindowTimerServicecurrentProcessingTime in interface WindowTimerService<W>public long currentWatermark()
WindowTimerServicecurrentWatermark in interface WindowTimerService<W>Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.