Class RangeUnboundedPrecedingOverFrame
java.lang.Object
org.apache.flink.table.runtime.operators.over.frame.UnboundedPrecedingOverFrame
org.apache.flink.table.runtime.operators.over.frame.RangeUnboundedPrecedingOverFrame
- All Implemented Interfaces:
Serializable,OverWindowFrame
The range UnboundPreceding window frame calculates frames with the following SQL form: ... RANGE
BETWEEN UNBOUNDED PRECEDING AND [window frame following] [window frame following] ::=
[unsigned_value_specification] FOLLOWING | CURRENT ROW
e.g.: ... RANGE BETWEEN UNBOUNDED PRECEDING AND 1 FOLLOWING.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRangeUnboundedPrecedingOverFrame(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.UnboundedPrecedingOverFrame
prepare
-
Constructor Details
-
RangeUnboundedPrecedingOverFrame
public RangeUnboundedPrecedingOverFrame(GeneratedAggsHandleFunction aggsHandleFunction, GeneratedRecordComparator boundComparator)
-
-
Method Details
-
open
Description copied from interface:OverWindowFrameOpen to init withExecutionContext.- Specified by:
openin interfaceOverWindowFrame- Overrides:
openin classUnboundedPrecedingOverFrame- 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
-