Search in sources :

Example 1 with HeapWindowsGrouping

use of org.apache.flink.table.runtime.operators.window.grouping.HeapWindowsGrouping in project flink by apache.

the class BatchArrowPythonGroupWindowAggregateFunctionOperator method open.

@Override
public void open() throws Exception {
    super.open();
    inputKeyAndWindow = new LinkedList<>();
    windowProperty = new GenericRowData(namedProperties.length);
    windowAggResult = new JoinedRowData();
    windowsGrouping = new HeapWindowsGrouping(maxLimitSize, windowSize, slideSize, inputTimeFieldIndex, false);
    forwardedInputSerializer = new RowDataSerializer(inputType);
}
Also used : JoinedRowData(org.apache.flink.table.data.utils.JoinedRowData) GenericRowData(org.apache.flink.table.data.GenericRowData) HeapWindowsGrouping(org.apache.flink.table.runtime.operators.window.grouping.HeapWindowsGrouping) RowDataSerializer(org.apache.flink.table.runtime.typeutils.RowDataSerializer)

Aggregations

GenericRowData (org.apache.flink.table.data.GenericRowData)1 JoinedRowData (org.apache.flink.table.data.utils.JoinedRowData)1 HeapWindowsGrouping (org.apache.flink.table.runtime.operators.window.grouping.HeapWindowsGrouping)1 RowDataSerializer (org.apache.flink.table.runtime.typeutils.RowDataSerializer)1