public class Slide extends Object
For example, a sliding window of size 15 minutes with 5 minutes sliding interval groups elements of 15 minutes and evaluates every five minutes. Each element is contained in three consecutive window evaluations.
Constructor and Description |
---|
Slide() |
Modifier and Type | Method and Description |
---|---|
static SlideWithSize |
over(String size)
Creates a sliding window.
|
public static SlideWithSize over(String size)
For example, a sliding window of size 15 minutes with 5 minutes sliding interval groups elements of 15 minutes and evaluates every five minutes. Each element is contained in three consecutive window evaluations.
size
- the size of the window as time or row-count intervalCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.