Package org.apache.beam.sdk.values
Interface WindowedValue<T>
- Type Parameters:
T
- the type of the primary data for the value.
public interface WindowedValue<T>
A value along with Beam's windowing information and all other metadata.
-
Method Summary
Modifier and TypeMethodDescriptionA representation of each of the actual values represented by this compressedWindowedValue
, one per window.ThePaneInfo
associated with this WindowedValue.The timestamp of this value in event time.getValue()
The primary data for this value.Collection
<? extends BoundedWindow> Returns the windows of thisWindowedValue
.<OtherT> WindowedValue
<OtherT> withValue
(OtherT value) AWindowedValue
with identical metadata to the current one, but with the provided value.
-
Method Details
-
getValue
The primary data for this value. -
getTimestamp
The timestamp of this value in event time. -
getWindows
Returns the windows of thisWindowedValue
. -
getPaneInfo
ThePaneInfo
associated with this WindowedValue. -
explodeWindows
A representation of each of the actual values represented by this compressedWindowedValue
, one per window. -
withValue
AWindowedValue
with identical metadata to the current one, but with the provided value.
-