public class WindowTimerServiceImpl extends Object implements WindowTimerService<Long>
WindowTimerService.| 构造器和说明 |
|---|
WindowTimerServiceImpl(org.apache.flink.streaming.api.operators.InternalTimerService<Long> internalTimerService,
java.time.ZoneId shiftTimeZone) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
void |
registerEventTimeWindowTimer(Long window)
Registers a window timer to be fired when event time watermark passes the window.
|
void |
registerProcessingTimeWindowTimer(Long window)
Registers a window timer to be fired when processing time passes the window.
|
public WindowTimerServiceImpl(org.apache.flink.streaming.api.operators.InternalTimerService<Long> internalTimerService, java.time.ZoneId shiftTimeZone)
public java.time.ZoneId getShiftTimeZone()
WindowTimerServicegetShiftTimeZone 在接口中 WindowTimerService<Long>public long currentProcessingTime()
WindowTimerServicecurrentProcessingTime 在接口中 WindowTimerService<Long>public long currentWatermark()
WindowTimerServicecurrentWatermark 在接口中 WindowTimerService<Long>public void registerProcessingTimeWindowTimer(Long window)
WindowTimerServicepublic void registerEventTimeWindowTimer(Long window)
WindowTimerServiceregisterEventTimeWindowTimer 在接口中 WindowTimerService<Long>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.