Package org.apache.beam.sdk.values
Class FailsafeValueInSingleWindow<T,ErrorT>
java.lang.Object
org.apache.beam.sdk.values.FailsafeValueInSingleWindow<T,ErrorT>
- Type Parameters:
T
- the type of the value
An immutable tuple of value, timestamp, window, and pane.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ErrorT
Returns the failsafe value of thisFailsafeValueInSingleWindow
.abstract PaneInfo
Returns the pane of thisFailsafeValueInSingleWindow
in its window.abstract Instant
Returns the timestamp of thisFailsafeValueInSingleWindow
.abstract T
getValue()
Returns the value of thisFailsafeValueInSingleWindow
.abstract BoundedWindow
Returns the window of thisFailsafeValueInSingleWindow
.static <T,
ErrorT>
FailsafeValueInSingleWindow<T, ErrorT> of
(T value, Instant timestamp, BoundedWindow window, PaneInfo paneInfo, ErrorT failsafeValue)
-
Constructor Details
-
FailsafeValueInSingleWindow
public FailsafeValueInSingleWindow()
-
-
Method Details
-
getValue
Returns the value of thisFailsafeValueInSingleWindow
. -
getTimestamp
Returns the timestamp of thisFailsafeValueInSingleWindow
. -
getWindow
Returns the window of thisFailsafeValueInSingleWindow
. -
getPaneInfo
Returns the pane of thisFailsafeValueInSingleWindow
in its window. -
getFailsafeValue
Returns the failsafe value of thisFailsafeValueInSingleWindow
. -
of
public static <T,ErrorT> FailsafeValueInSingleWindow<T,ErrorT> of(T value, Instant timestamp, BoundedWindow window, PaneInfo paneInfo, ErrorT failsafeValue)
-