Class WindowTrigger<W extends Window>
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.window.groupwindow.triggers.Trigger<W>
-
- org.apache.flink.table.runtime.operators.window.groupwindow.triggers.WindowTrigger<W>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EventTimeTriggers.AfterEndOfWindow,EventTimeTriggers.AfterEndOfWindowEarlyAndLate,EventTimeTriggers.AfterEndOfWindowNoLate,ProcessingTimeTriggers.AfterEndOfWindow,ProcessingTimeTriggers.AfterEndOfWindowNoLate,ProcessingTimeTriggers.AfterFirstElementPeriodic
@Internal public abstract class WindowTrigger<W extends Window> extends Trigger<W>
AWindowTriggerdetermines when a window should be evaluated to emit the results.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.table.runtime.operators.window.groupwindow.triggers.Trigger
Trigger.OnMergeContext, Trigger.TriggerContext
-
-
Field Summary
Fields Modifier and Type Field Description protected Trigger.TriggerContextctxTheTrigger.TriggerContextof the window trigger.
-
Constructor Summary
Constructors Constructor Description WindowTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longtriggerTime(W window)Returns the trigger time of the window, this should be called after TriggerContext initialized.-
Methods inherited from class org.apache.flink.table.runtime.operators.window.groupwindow.triggers.Trigger
canMerge, clear, onElement, onEventTime, onMerge, onProcessingTime, open
-
-
-
-
Field Detail
-
ctx
protected transient Trigger.TriggerContext ctx
TheTrigger.TriggerContextof the window trigger.
-
-
Method Detail
-
triggerTime
protected long triggerTime(W window)
Returns the trigger time of the window, this should be called after TriggerContext initialized.
-
-