Class RangeUnboundedFollowingOverFrame
java.lang.Object
org.apache.flink.table.runtime.operators.over.frame.UnboundedFollowingOverFrame
org.apache.flink.table.runtime.operators.over.frame.RangeUnboundedFollowingOverFrame
- All Implemented Interfaces:
Serializable,OverWindowFrame
The range unboundedFollowing window frame calculates frames with the following SQL form: ...
RANGE BETWEEN [window frame preceding] AND UNBOUNDED FOLLOWING [window frame preceding] ::=
[unsigned_value_specification] PRECEDING | CURRENT ROW
e.g.: ... RANGE BETWEEN 1 PRECEDING AND UNBOUNDED FOLLOWING.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRangeUnboundedFollowingOverFrame(org.apache.flink.table.types.logical.RowType valueType, GeneratedAggsHandleFunction aggsHandleFunction, GeneratedRecordComparator boundComparator) -
Method Summary
Modifier and TypeMethodDescriptionvoidopen(ExecutionContext ctx) Open to init withExecutionContext.org.apache.flink.table.data.RowDataprocess(int index, org.apache.flink.table.data.RowData current) return the ACC of the window frame.Methods inherited from class org.apache.flink.table.runtime.operators.over.frame.UnboundedFollowingOverFrame
prepare
-
Constructor Details
-
RangeUnboundedFollowingOverFrame
public RangeUnboundedFollowingOverFrame(org.apache.flink.table.types.logical.RowType valueType, GeneratedAggsHandleFunction aggsHandleFunction, GeneratedRecordComparator boundComparator)
-
-
Method Details
-
open
Description copied from interface:OverWindowFrameOpen to init withExecutionContext.- Specified by:
openin interfaceOverWindowFrame- Overrides:
openin classUnboundedFollowingOverFrame- Throws:
Exception
-
process
public org.apache.flink.table.data.RowData process(int index, org.apache.flink.table.data.RowData current) throws Exception Description copied from interface:OverWindowFramereturn the ACC of the window frame.- Throws:
Exception
-