Package org.apache.ignite.table
Interface ContinuousQueryWatermark
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ContinuousQueryPhysicalTimeWatermark
Continuous query watermark. Represents a starting point for a continuous query.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ContinuousQueryWatermark
Creates a new watermark based on specified time (wall clock).
-
Method Details
-
ofInstant
Creates a new watermark based on specified time (wall clock).The specified timestamp should not be older than
now() - LowWatermarkConfiguration.dataAvailabilityTime()
, or the query will fail with an exception.For example, to query 5 seconds in the past, use
Instant.now().minusSeconds(5)
.- Parameters:
startTime
- Start time.- Returns:
- Watermark.
-