Package org.apache.beam.sdk.values
Interface WindowedValue<T>
- Type Parameters:
T- the type of the primary data for the value.
- All Known Subinterfaces:
OutputBuilder<T>
- All Known Implementing Classes:
WindowedValues.Builder
public interface WindowedValue<T>
A value along with Beam's windowing information and all other metadata.
-
Method Summary
Modifier and TypeMethodDescriptionIterable<? extends WindowedValue<T>> A representation of each of the actual values represented by this compressedWindowedValue, one per window.ThePaneInfoassociated with this WindowedValue.The timestamp of this value in event time.getValue()The primary data for this value.Returns theValueKindassociated with this WindowedValue.Collection<? extends BoundedWindow> Returns the windows of thisWindowedValue.<OtherT> WindowedValue<OtherT> withValue(OtherT value) AWindowedValuewith 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
ThePaneInfoassociated with this WindowedValue. -
getRecordId
-
getOpenTelemetryContext
-
getRecordOffset
-
causedByDrain
CausedByDrain causedByDrain() -
getValueKind
Returns theValueKindassociated with this WindowedValue. -
explodeWindows
A representation of each of the actual values represented by this compressedWindowedValue, one per window. -
withValue
AWindowedValuewith identical metadata to the current one, but with the provided value.
-