W - BoundedWindow subclass used to represent the windows used by this
OnElementEventpublic static class Trigger.OnElementEvent<W>
extends java.lang.Object
| Constructor and Description |
|---|
Trigger.OnElementEvent(java.lang.Object value,
Instant timestamp,
W window,
Trigger.WindowStatus status) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
element()
|
Instant |
eventTimestamp()
The event timestamp of the element being processed.
|
W |
window()
The window into which the element was assigned.
|
Trigger.WindowStatus |
windowStatus()
The status of the window to which the element was assigned.
|
public Trigger.OnElementEvent(java.lang.Object value,
Instant timestamp,
W window,
Trigger.WindowStatus status)
public java.lang.Object element()
public Instant eventTimestamp()
public W window()
public Trigger.WindowStatus windowStatus()