public interface Bundle<T,CollectionT>
extends java.lang.Iterable<org.apache.beam.sdk.util.WindowedValue<T>>
PCollection
.Modifier and Type | Method and Description |
---|---|
StructuralKey<?> |
getKey()
Returns the key that was output in the most recent
GroupByKey in the
execution of this bundle. |
Instant |
getMinimumTimestamp()
Return the minimum timestamp among elements in this bundle.
|
CollectionT |
getPCollection()
Returns the PCollection that the elements of this bundle belong to.
|
Instant |
getSynchronizedProcessingOutputWatermark()
Returns the processing time output watermark at the time the producing
Executable
committed this bundle. |
@Nullable CollectionT getPCollection()
StructuralKey<?> getKey()
GroupByKey
in the
execution of this bundle.Instant getMinimumTimestamp()
This should be equivalent to iterating over all of the elements within a bundle and selecting the minimum timestamp from among them.
Instant getSynchronizedProcessingOutputWatermark()
Executable
committed this bundle. Downstream synchronized processing time watermarks cannot progress
past this point before consuming this bundle.
This value is no greater than the earliest incomplete processing time or synchronized processing time at the time this bundle was committed, including any timers that fired to produce this bundle.