Package org.apache.flink.table.api
Class OverWindowPartitionedOrderedPreceding
- java.lang.Object
-
- org.apache.flink.table.api.OverWindowPartitionedOrderedPreceding
-
@PublicEvolving public final class OverWindowPartitionedOrderedPreceding extends Object
Partially defined over window with (optional) partitioning, order, and preceding.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OverWindow
as(String alias)
Assigns an alias for this window that the followingselect()
clause can refer to.OverWindow
as(org.apache.flink.table.expressions.Expression alias)
Assigns an alias for this window that the followingselect()
clause can refer to.OverWindowPartitionedOrderedPreceding
following(org.apache.flink.table.expressions.Expression following)
Set the following offset (based on time or row-count intervals) for over window.
-
-
-
Method Detail
-
as
public OverWindow as(String alias)
Assigns an alias for this window that the followingselect()
clause can refer to.- Parameters:
alias
- alias for this over window- Returns:
- the fully defined over window
-
as
public OverWindow as(org.apache.flink.table.expressions.Expression alias)
Assigns an alias for this window that the followingselect()
clause can refer to.- Parameters:
alias
- alias for this over window- Returns:
- the fully defined over window
-
following
public OverWindowPartitionedOrderedPreceding following(org.apache.flink.table.expressions.Expression following)
Set the following offset (based on time or row-count intervals) for over window.- Parameters:
following
- following offset that relative to the current row.- Returns:
- an over window with defined following
-
-