@Internal public abstract class WindowTrigger<W extends Window> extends Trigger<W>
WindowTrigger
determines when a window should be evaluated to emit the results.Trigger.OnMergeContext, Trigger.TriggerContext
Modifier and Type | Field and Description |
---|---|
protected Trigger.TriggerContext |
ctx
The
Trigger.TriggerContext
of the window trigger. |
Constructor and Description |
---|
WindowTrigger() |
Modifier and Type | Method and Description |
---|---|
protected long |
triggerTime(W window)
Returns the trigger time of the window, this should be called after TriggerContext
initialized.
|
canMerge, clear, onElement, onEventTime, onMerge, onProcessingTime, open
protected transient Trigger.TriggerContext ctx
Trigger.TriggerContext
of the window trigger.protected long triggerTime(W window)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.