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