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
public class RangeUnboundedPrecedingOverFrame extends UnboundedPrecedingOverFrame
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 ROWe.g.: ... RANGE BETWEEN UNBOUNDED PRECEDING AND 1 FOLLOWING.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RangeUnboundedPrecedingOverFrame(GeneratedAggsHandleFunction aggsHandleFunction, GeneratedRecordComparator boundComparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
open(ExecutionContext ctx)
Open to init withExecutionContext
.RowData
process(int index, RowData current)
return the ACC of the window frame.-
Methods inherited from class org.apache.flink.table.runtime.operators.over.frame.UnboundedPrecedingOverFrame
prepare
-
-
-
-
Constructor Detail
-
RangeUnboundedPrecedingOverFrame
public RangeUnboundedPrecedingOverFrame(GeneratedAggsHandleFunction aggsHandleFunction, GeneratedRecordComparator boundComparator)
-
-
Method Detail
-
open
public void open(ExecutionContext ctx) throws Exception
Description copied from interface:OverWindowFrame
Open to init withExecutionContext
.- Specified by:
open
in interfaceOverWindowFrame
- Overrides:
open
in classUnboundedPrecedingOverFrame
- Throws:
Exception
-
process
public RowData process(int index, RowData current) throws Exception
Description copied from interface:OverWindowFrame
return the ACC of the window frame.- Throws:
Exception
-
-