Package org.apache.flink.table.api
Class SessionWithGap
- java.lang.Object
-
- org.apache.flink.table.api.SessionWithGap
-
@PublicEvolving public final class SessionWithGap extends Object
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionWithGapOnTime
on(org.apache.flink.table.expressions.Expression timeField)
Specifies the time attribute on which rows are grouped.
-
-
-
Method Detail
-
on
public SessionWithGapOnTime 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
-
-