public static class MergingWindowProcessFunction.DefaultAccMergingConsumer<W extends Window> extends Object implements BiConsumerWithException<W,Collection<W>,Throwable>
The first parameter is the target state window, the second parameter is the windows that need to be merged.
Constructor and Description |
---|
DefaultAccMergingConsumer(InternalWindowProcessFunction.Context<?,W> ctx,
NamespaceAggsHandleFunctionBase<W> windowAggregator) |
Modifier and Type | Method and Description |
---|---|
void |
accept(W stateWindowResult,
Collection<W> stateWindowsToBeMerged)
Performs this operation on the given arguments.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
unchecked
public DefaultAccMergingConsumer(InternalWindowProcessFunction.Context<?,W> ctx, NamespaceAggsHandleFunctionBase<W> windowAggregator)
public void accept(W stateWindowResult, Collection<W> stateWindowsToBeMerged) throws Throwable
BiConsumerWithException
accept
in interface BiConsumerWithException<W extends Window,Collection<W extends Window>,Throwable>
stateWindowResult
- the first input argumentstateWindowsToBeMerged
- the second input argumentThrowable
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.