Package org.apache.flink.table.api
Class SessionWithGap
java.lang.Object
org.apache.flink.table.api.SessionWithGap
Session 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
Modifier and TypeMethodDescriptionon(org.apache.flink.table.expressions.Expression timeField) Specifies the time attribute on which rows are grouped.
-
Method Details
-
on
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
-