@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
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, openprotected transient Trigger.TriggerContext ctx
TriggerContext of the window trigger.protected long triggerTime(W window)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.