TimeInterval windows
A timeInterval window collects tuples into fixed-duration intervals defined over event
time.
TimeInterval windows collect tuples into window panes specified by event-time intervals. An
event-time interval is specified by its low (t0
) and high (t0+T
)
endpoints and contains all the tuples with event-times t
where t0 <= t
< t0+T
.
A timeInterval window partitions the time domain into equally sized intervals of the form:
[N * creationPeriod + intervalOffset, (N + 1) * creationPeriod + intervalOffset + intervalDuration)
where
intervalOffset, creationPeriod, and
intervalDuration are defined by the options passed to the SPL window clause.Note:
- Time values are expressed in seconds. They can also be fractional, such as
creationPeriod(0.05)
. - Only floating point values are supported.