public class RangeSlidingOverFrame extends SlidingOverFrame
e.g.: ... RANGE BETWEEN 1 PRECEDING AND 1 FOLLOWING.
| 构造器和说明 |
|---|
RangeSlidingOverFrame(org.apache.flink.table.types.logical.RowType inputType,
org.apache.flink.table.types.logical.RowType valueType,
GeneratedAggsHandleFunction aggsHandleFunction,
GeneratedRecordComparator lboundComparator,
GeneratedRecordComparator rboundComparator) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 OverWindowFrameopen 在类中 SlidingOverFrameExceptionpublic org.apache.flink.table.data.RowData process(int index,
org.apache.flink.table.data.RowData current)
throws Exception
OverWindowFrameExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.