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