Package org.apache.flink.table.api
Class SlideWithSize
- java.lang.Object
-
- org.apache.flink.table.api.SlideWithSize
-
@PublicEvolving public final class SlideWithSize extends Object
Partially specified sliding window. The size of the window either as time or row-count interval.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlideWithSizeAndSlide
every(org.apache.flink.table.expressions.Expression slide)
Specifies the window's slide as time or row-count interval.
-
-
-
Method Detail
-
every
public SlideWithSizeAndSlide every(org.apache.flink.table.expressions.Expression slide)
Specifies the window's slide as time or row-count interval.The slide determines the interval in which windows are started. Hence, sliding windows can overlap if the slide is smaller than the size of the window.
For example, you could have windows of size 15 minutes that slide by 3 minutes. With this 15 minutes worth of elements are grouped every 3 minutes and each row contributes to 5 windows.
- Parameters:
slide
- the slide of the window either as time or row-count interval.- Returns:
- a sliding window
-
-