Class MergingWindowProcessFunction.DefaultAccMergingConsumer<W extends Window>
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.window.groupwindow.internal.MergingWindowProcessFunction.DefaultAccMergingConsumer<W>
-
- All Implemented Interfaces:
org.apache.flink.util.function.BiConsumerWithException<W,Collection<W>,Throwable>
- Enclosing class:
- MergingWindowProcessFunction<K,W extends Window>
public static class MergingWindowProcessFunction.DefaultAccMergingConsumer<W extends Window> extends Object implements org.apache.flink.util.function.BiConsumerWithException<W,Collection<W>,Throwable>
A default merging consumer that merges the accumulators in state windows that waiting to be merged into the target state window.The first parameter is the target state window, the second parameter is the windows that need to be merged.
-
-
Constructor Summary
Constructors Constructor Description DefaultAccMergingConsumer(InternalWindowProcessFunction.Context<?,W> ctx, NamespaceAggsHandleFunctionBase<W> windowAggregator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(W stateWindowResult, Collection<W> stateWindowsToBeMerged)
-
-
-
Constructor Detail
-
DefaultAccMergingConsumer
public DefaultAccMergingConsumer(InternalWindowProcessFunction.Context<?,W> ctx, NamespaceAggsHandleFunctionBase<W> windowAggregator)
-
-