@PublicEvolving public interface OverWindowedTable
OverWindow
s.
Unlike group windows, which are specified in the
GROUP BY
clause, over windows do not collapse rows. Instead over window aggregates
compute an aggregate for each input row over a range of its neighboring rows.
Modifier and Type | Method and Description |
---|---|
Table |
select(Expression... fields)
Performs a selection operation on a over windowed table.
|
Table |
select(String fields)
Performs a selection operation on a over windowed table.
|
Table select(String fields)
Example:
overWindowedTable.select("c, b.count over ow, e.sum over ow")
Table select(Expression... fields)
Scala Example:
overWindowedTable.select('c, 'b.count over 'ow, 'e.sum over 'ow)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.