@PublicEvolving public final class Over extends Object
Java Example:
Over.partitionBy("a").orderBy("rowtime").preceding("unbounded_range").as("w")
Scala Example:
Over partitionBy 'a orderBy 'rowtime preceding UNBOUNDED_RANGE as 'w
| Constructor and Description |
|---|
Over() |
| Modifier and Type | Method and Description |
|---|---|
static OverWindowPartitionedOrdered |
orderBy(org.apache.flink.table.expressions.Expression orderBy)
Specifies the time attribute on which rows are ordered.
|
static OverWindowPartitionedOrdered |
orderBy(String orderBy)
Specifies the time attribute on which rows are ordered.
|
static OverWindowPartitioned |
partitionBy(org.apache.flink.table.expressions.Expression... partitionBy)
Partitions the elements on some partition keys.
|
static OverWindowPartitioned |
partitionBy(String partitionBy)
Partitions the elements on some partition keys.
|
public static OverWindowPartitioned partitionBy(String partitionBy)
Each partition is individually sorted and aggregate functions are applied to each partition separately.
partitionBy - list of field referencespublic static OverWindowPartitioned partitionBy(org.apache.flink.table.expressions.Expression... partitionBy)
Each partition is individually sorted and aggregate functions are applied to each partition separately.
partitionBy - list of field referencespublic static OverWindowPartitionedOrdered orderBy(String orderBy)
For streaming tables, reference a rowtime or proctime time attribute here to specify the time mode.
For batch tables, refer to a timestamp or long attribute.
orderBy - field referencepublic static OverWindowPartitionedOrdered orderBy(org.apache.flink.table.expressions.Expression orderBy)
For streaming tables, reference a rowtime or proctime time attribute here to specify the time mode.
For batch tables, refer to a timestamp or long attribute.
orderBy - field referenceCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.