Class InsensitiveOverFrame
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.over.frame.InsensitiveOverFrame
-
- All Implemented Interfaces:
Serializable,OverWindowFrame
public class InsensitiveOverFrame extends Object implements OverWindowFrame
The insensitive window frame calculates the statements which shouldn't care the window frame, for example RANK/DENSE_RANK/PERCENT_RANK/NTILE/ROW_NUMBER.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InsensitiveOverFrame(GeneratedAggsHandleFunction aggsHandleFunction)
-
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
-
InsensitiveOverFrame
public InsensitiveOverFrame(GeneratedAggsHandleFunction aggsHandleFunction)
-
-
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
-
-