T
- the type of the valuepublic abstract class ValueInSingleWindow<T>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ValueInSingleWindow.Coder<T>
A coder for
ValueInSingleWindow . |
Constructor and Description |
---|
ValueInSingleWindow() |
Modifier and Type | Method and Description |
---|---|
abstract PaneInfo |
getPane()
Returns the pane of this
ValueInSingleWindow in its window. |
abstract Instant |
getTimestamp()
Returns the timestamp of this
ValueInSingleWindow . |
abstract T |
getValue()
Returns the value of this
ValueInSingleWindow . |
abstract BoundedWindow |
getWindow()
Returns the window of this
ValueInSingleWindow . |
static <T> ValueInSingleWindow<T> |
of(T value,
Instant timestamp,
BoundedWindow window,
PaneInfo paneInfo) |
@Nullable public abstract T getValue()
ValueInSingleWindow
.public abstract Instant getTimestamp()
ValueInSingleWindow
.public abstract BoundedWindow getWindow()
ValueInSingleWindow
.public abstract PaneInfo getPane()
ValueInSingleWindow
in its window.public static <T> ValueInSingleWindow<T> of(T value, Instant timestamp, BoundedWindow window, PaneInfo paneInfo)