Package org.apache.beam.sdk.values
Class ValueInSingleWindow<T>
java.lang.Object
org.apache.beam.sdk.values.ValueInSingleWindow<T>
- 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 TypeMethodDescriptionWorkaround for autovalue code generation, which does not allow type variables to be instantiated with nullable actual parameters.abstract PaneInfo
Returns the pane of thisValueInSingleWindow
in its window.abstract Instant
Returns the timestamp of thisValueInSingleWindow
.getValue()
Returns the value of thisValueInSingleWindow
.abstract BoundedWindow
Returns the window of thisValueInSingleWindow
.static <T> ValueInSingleWindow
<T> of
(T value, Instant timestamp, BoundedWindow window, PaneInfo paneInfo)
-
Constructor Details
-
ValueInSingleWindow
public ValueInSingleWindow()
-
-
Method Details
-
getValue
Returns the value of thisValueInSingleWindow
. -
getNullableValue
Workaround for autovalue code generation, which does not allow type variables to be instantiated with nullable actual parameters. -
getTimestamp
Returns the timestamp of thisValueInSingleWindow
. -
getWindow
Returns the window of thisValueInSingleWindow
. -
getPaneInfo
Returns the pane of thisValueInSingleWindow
in its window. -
of
public static <T> ValueInSingleWindow<T> of(T value, Instant timestamp, BoundedWindow window, PaneInfo paneInfo)
-