public class RangeSlidingOverFrame extends SlidingOverFrame
e.g.: ... RANGE BETWEEN 1 PRECEDING AND 1 FOLLOWING.
| Constructor and Description |
|---|
RangeSlidingOverFrame(org.apache.flink.table.types.logical.RowType inputType,
org.apache.flink.table.types.logical.RowType valueType,
GeneratedAggsHandleFunction aggsHandleFunction,
GeneratedRecordComparator lboundComparator,
GeneratedRecordComparator rboundComparator) |
| Modifier and Type | Method and Description |
|---|---|
void |
open(ExecutionContext ctx)
Open to init with
ExecutionContext. |
org.apache.flink.table.data.RowData |
process(int index,
org.apache.flink.table.data.RowData current)
return the ACC of the window frame.
|
prepareclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNextOrNullpublic RangeSlidingOverFrame(org.apache.flink.table.types.logical.RowType inputType,
org.apache.flink.table.types.logical.RowType valueType,
GeneratedAggsHandleFunction aggsHandleFunction,
GeneratedRecordComparator lboundComparator,
GeneratedRecordComparator rboundComparator)
lboundComparator - comparator used to identify the lower bound of an output row.rboundComparator - comparator used to identify the upper bound of an output row.public void open(ExecutionContext ctx) throws Exception
OverWindowFrameExecutionContext.open in interface OverWindowFrameopen in class SlidingOverFrameExceptionpublic org.apache.flink.table.data.RowData process(int index,
org.apache.flink.table.data.RowData current)
throws Exception
OverWindowFrameExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.