Package org.apache.flink.table.api
Class SlideWithSizeAndSlide
- java.lang.Object
-
- org.apache.flink.table.api.SlideWithSizeAndSlide
-
@PublicEvolving public final class SlideWithSizeAndSlide extends Object
Sliding window. The size of the window either as time or row-count interval.For streaming tables you can specify grouping by a event-time or processing-time attribute.
For batch tables you can specify grouping on a timestamp or long attribute.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlideWithSizeAndSlideOnTime
on(org.apache.flink.table.expressions.Expression timeField)
Specifies the time attribute on which rows are grouped.
-
-
-
Method Detail
-
on
public SlideWithSizeAndSlideOnTime on(org.apache.flink.table.expressions.Expression timeField)
Specifies the time attribute on which rows are grouped.For streaming tables you can specify grouping by a event-time or processing-time attribute.
For batch tables you can specify grouping on a timestamp or long attribute.
- Parameters:
timeField
- time attribute for streaming and batch tables- Returns:
- a tumbling window on event-time
-
-