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
ConstructorsConstructorDescriptionDefaultAccMergingConsumer(InternalWindowProcessFunction.Context<?, W> ctx, NamespaceAggsHandleFunctionBase<W> windowAggregator) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(W stateWindowResult, Collection<W> stateWindowsToBeMerged)
-
Constructor Details
-
DefaultAccMergingConsumer
public DefaultAccMergingConsumer(InternalWindowProcessFunction.Context<?, W> ctx, NamespaceAggsHandleFunctionBase<W> windowAggregator)
-
-
Method Details