W - BoundedWindow subclass used to represent the windows used by this
OnMergeEventpublic static class Trigger.OnMergeEvent<W>
extends java.lang.Object
| Constructor and Description |
|---|
Trigger.OnMergeEvent(java.lang.Iterable<W> oldWindows,
W newWindow) |
| Modifier and Type | Method and Description |
|---|---|
W |
newWindow()
The new window produced by merging the
oldWindows(). |
java.lang.Iterable<W> |
oldWindows()
The old windows that were merged.
|
public java.lang.Iterable<W> oldWindows()
public W newWindow()
oldWindows().