Package org.apache.flink.table.api
Class TumbleWithSize
- java.lang.Object
-
- org.apache.flink.table.api.TumbleWithSize
-
@PublicEvolving public final class TumbleWithSize extends Object
Tumbling window.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 TumbleWithSizeOnTime
on(org.apache.flink.table.expressions.Expression timeField)
Specifies the time attribute on which rows are grouped.
-
-
-
Method Detail
-
on
public TumbleWithSizeOnTime 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
-
-