Class RowUnboundedPrecedingOverFrame
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.over.frame.UnboundedPrecedingOverFrame
-
- org.apache.flink.table.runtime.operators.over.frame.RowUnboundedPrecedingOverFrame
-
- All Implemented Interfaces:
Serializable
,OverWindowFrame
public class RowUnboundedPrecedingOverFrame extends UnboundedPrecedingOverFrame
The row UnboundPreceding window frame calculates frames with the following SQL form: ... ROW BETWEEN UNBOUNDED PRECEDING AND [window frame following] [window frame following] ::= [unsigned_value_specification] FOLLOWING | CURRENT ROWe.g.: ... ROW BETWEEN UNBOUNDED PRECEDING AND 1 FOLLOWING.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RowUnboundedPrecedingOverFrame(GeneratedAggsHandleFunction aggsHandleFunction, long rightBound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
prepare(ResettableExternalBuffer rows)
Prepare for next partition.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
open
-
-
-
-
Constructor Detail
-
RowUnboundedPrecedingOverFrame
public RowUnboundedPrecedingOverFrame(GeneratedAggsHandleFunction aggsHandleFunction, long rightBound)
-
-
Method Detail
-
prepare
public void prepare(ResettableExternalBuffer rows) throws Exception
Description copied from interface:OverWindowFrame
Prepare for next partition.- Specified by:
prepare
in interfaceOverWindowFrame
- Overrides:
prepare
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
-
-