Class WindowTimerServiceBase<W>
java.lang.Object
org.apache.flink.table.runtime.operators.window.tvf.common.WindowTimerServiceBase<W>
- All Implemented Interfaces:
WindowTimerService<W>
- Direct Known Subclasses:
SlicingWindowTimerServiceImpl,UnslicingWindowTimerServiceImpl
A base implement of
WindowTimerService.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWindowTimerServiceBase(org.apache.flink.streaming.api.operators.InternalTimerService<W> internalTimerService, ZoneId shiftTimeZone) -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the current processing time.longReturns the current event-time watermark.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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.runtime.operators.window.tvf.common.WindowTimerService
registerEventTimeWindowTimer, registerProcessingTimeWindowTimer
-
Field Details
-
internalTimerService
protected final org.apache.flink.streaming.api.operators.InternalTimerService<W> internalTimerService -
shiftTimeZone
-
-
Constructor Details
-
WindowTimerServiceBase
-
-
Method Details
-
getShiftTimeZone
Description copied from interface:WindowTimerServiceThe 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.- Specified by:
getShiftTimeZonein interfaceWindowTimerService<W>
-
currentProcessingTime
public long currentProcessingTime()Description copied from interface:WindowTimerServiceReturns the current processing time.- Specified by:
currentProcessingTimein interfaceWindowTimerService<W>
-
currentWatermark
public long currentWatermark()Description copied from interface:WindowTimerServiceReturns the current event-time watermark.- Specified by:
currentWatermarkin interfaceWindowTimerService<W>
-