Package org.apache.flink.table.api
Interface OverWindowedTable
-
@PublicEvolving public interface OverWindowedTableA table that has been windowed forOverWindows.Unlike group windows, which are specified in the
GROUP BYclause, over windows do not collapse rows. Instead over window aggregates compute an aggregate for each input row over a range of its neighboring rows.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tableselect(org.apache.flink.table.expressions.Expression... fields)Performs a selection operation on a over windowed table.
-
-
-
Method Detail
-
select
Table select(org.apache.flink.table.expressions.Expression... fields)
Performs a selection operation on a over windowed table. Similar to an SQL SELECT statement. The field expressions can contain complex expressions and aggregations.Example:
overWindowedTable.select( $("c"), $("b").count().over($("ow")), $("e").sum().over($("ow")) );Scala Example:
overWindowedTable.select('c, 'b.count over 'ow, 'e.sum over 'ow)
-
-