Since
- class windows.Since
-
Window producing cumulative values since a predicate.
“Since” windows are a series of non-overlapping windows producing cumulative values
since each time the predicate evaluates to true. Each window is exclusive of the time
it starts at and inclusive of the end time.
- Parameters:
-
predicate (Timestream | Callable[, Timestream] | bool)
the condition used to determine when the window resets.
- static windows.Since.daily()
-
Return a window since the start of each calendar day.
- Returns:
-
Window for aggregating cumulative values since the predicate.
- static windows.Since.hourly()
-
Return a window since the start of each calendar hour.
- Returns:
-
Window for aggregating cumulative values since the predicate.
- static windows.Since.minutely()
-
Return a window since the start of each calendar minute.
- Returns:
-
Window for aggregating cumulative values since the predicate.
- static windows.Since.monthly()
-
Return a window since the start of each calendar month.
- Returns:
-
Window for aggregating cumulative values since the predicate.
- static windows.Since.yearly()
-
Return a window since the start of each calendar year.
- Returns:
-
Window for aggregating cumulative values since the predicate.