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 ErrorTReturns the failsafe value of thisFailsafeValueInSingleWindow.abstract PaneInfoReturns the pane of thisFailsafeValueInSingleWindowin its window.abstract InstantReturns the timestamp of thisFailsafeValueInSingleWindow.abstract TgetValue()Returns the value of thisFailsafeValueInSingleWindow.abstract BoundedWindowReturns 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 thisFailsafeValueInSingleWindowin 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)
-