Java Code Examples for org.apache.beam.sdk.transforms.windowing.BoundedWindow#validateTimestampBounds()
The following examples show how to use
org.apache.beam.sdk.transforms.windowing.BoundedWindow#validateTimestampBounds() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WatermarkEstimators.java From beam with Apache License 2.0 | 4 votes |
public Manual(Instant watermark) { BoundedWindow.validateTimestampBounds(watermark); this.watermark = checkNotNull(watermark, "watermark must not be null."); }
Example 2
Source File: WatermarkEstimators.java From beam with Apache License 2.0 | 4 votes |
@Override public void setWatermark(Instant watermark) { BoundedWindow.validateTimestampBounds(watermark); this.lastReportedWatermark = watermark; }
Example 3
Source File: WatermarkEstimators.java From beam with Apache License 2.0 | 4 votes |
public WallTime(Instant watermark) { BoundedWindow.validateTimestampBounds(watermark); this.watermark = checkNotNull(watermark, "watermark must not be null."); }
Example 4
Source File: WatermarkEstimators.java From beam with Apache License 2.0 | 4 votes |
public MonotonicallyIncreasing(Instant watermark) { BoundedWindow.validateTimestampBounds(watermark); this.watermark = checkNotNull(watermark, "timestamp must not be null."); }