@Internal public interface WatermarkHoldState extends GroupingState<Instant,Instant>
A State
accepting and aggregating timestamps according to a TimestampCombiner
,
holding the output watermark to the resulting timestamp.
Modifier and Type | Method and Description |
---|---|
TimestampCombiner |
getTimestampCombiner()
Return the
TimestampCombiner which will be used to determine a watermark hold time
given an element timestamp, and to combine watermarks from windows which are about to be
merged. |
WatermarkHoldState |
readLater()
Indicate that the value will be read later.
|
add, isEmpty
read
TimestampCombiner getTimestampCombiner()
TimestampCombiner
which will be used to determine a watermark hold time
given an element timestamp, and to combine watermarks from windows which are about to be
merged.WatermarkHoldState readLater()
ReadableState
This allows an implementation to start an asynchronous prefetch or to include this state in the next batch of reads.
readLater
in interface GroupingState<Instant,Instant>
readLater
in interface ReadableState<Instant>