public class WatermarkInterval extends Object
WorkUnit has a corresponding WatermarkInterval. The
WatermarkInterval represents the range of the data that needs to be pulled for the WorkUnit. So, the
WorkUnit should pull data from the lowWatermark to the
expectedHighWatermark.| Modifier and Type | Field and Description |
|---|---|
static String |
EXPECTED_HIGH_WATERMARK_TO_JSON_KEY |
static String |
LOW_WATERMARK_TO_JSON_KEY |
| Constructor and Description |
|---|
WatermarkInterval(Watermark lowWatermark,
Watermark expectedHighWatermark) |
| Modifier and Type | Method and Description |
|---|---|
Watermark |
getExpectedHighWatermark() |
Watermark |
getLowWatermark() |
com.google.gson.JsonElement |
toJson() |
public static final String LOW_WATERMARK_TO_JSON_KEY
public static final String EXPECTED_HIGH_WATERMARK_TO_JSON_KEY