T
- the type of the value@Internal public 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 |
---|---|
protected abstract T |
getNullableValue()
Workaround for autovalue code generation, which does not allow type variables to be
instantiated with nullable actual parameters.
|
abstract PaneInfo |
getPane()
Returns the pane of this
ValueInSingleWindow in its window. |
abstract Instant |
getTimestamp()
Returns the timestamp of this
ValueInSingleWindow . |
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) |
public T getValue()
ValueInSingleWindow
.protected abstract T getNullableValue()
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)