Class UnboundedOverWindowFrame
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.over.frame.UnboundedOverWindowFrame
-
- All Implemented Interfaces:
Serializable,OverWindowFrame
public class UnboundedOverWindowFrame extends Object implements OverWindowFrame
The unbounded window frame calculates frames with the following SQL forms: ... (No Frame Definition) ... BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnboundedOverWindowFrame(GeneratedAggsHandleFunction aggsHandleFunction, org.apache.flink.table.types.logical.RowType valueType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidopen(ExecutionContext ctx)Open to init withExecutionContext.voidprepare(ResettableExternalBuffer rows)Prepare for next partition.org.apache.flink.table.data.RowDataprocess(int index, org.apache.flink.table.data.RowData current)return the ACC of the window frame.
-
-
-
Constructor Detail
-
UnboundedOverWindowFrame
public UnboundedOverWindowFrame(GeneratedAggsHandleFunction aggsHandleFunction, org.apache.flink.table.types.logical.RowType valueType)
-
-
Method Detail
-
open
public void open(ExecutionContext ctx) throws Exception
Description copied from interface:OverWindowFrameOpen to init withExecutionContext.- Specified by:
openin interfaceOverWindowFrame- Throws:
Exception
-
prepare
public void prepare(ResettableExternalBuffer rows) throws Exception
Description copied from interface:OverWindowFramePrepare for next partition.- Specified by:
preparein interfaceOverWindowFrame- Throws:
Exception
-
process
public org.apache.flink.table.data.RowData process(int index, org.apache.flink.table.data.RowData current) throws ExceptionDescription copied from interface:OverWindowFramereturn the ACC of the window frame.- Specified by:
processin interfaceOverWindowFrame- Throws:
Exception
-
-