Class AsyncStateAggCombiner.Factory
java.lang.Object
org.apache.flink.table.runtime.operators.aggregate.asyncwindow.combines.AsyncStateAggCombiner.Factory
- All Implemented Interfaces:
Serializable,AsyncStateRecordsCombiner.Factory
- Enclosing class:
- AsyncStateAggCombiner
public static final class AsyncStateAggCombiner.Factory
extends Object
implements AsyncStateRecordsCombiner.Factory
Factory to create
AsyncStateAggCombiner.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRecordsCombiner(org.apache.flink.api.common.functions.RuntimeContext runtimeContext, WindowTimerService<Long> timerService, WindowAsyncState<Long> windowState, boolean isEventTime) Creates aAsyncStateRecordsCombinerthat can combine buffered data into async states.
-
Constructor Details
-
Factory
-
-
Method Details
-
createRecordsCombiner
public AsyncStateRecordsCombiner createRecordsCombiner(org.apache.flink.api.common.functions.RuntimeContext runtimeContext, WindowTimerService<Long> timerService, WindowAsyncState<Long> windowState, boolean isEventTime) throws Exception Description copied from interface:AsyncStateRecordsCombiner.FactoryCreates aAsyncStateRecordsCombinerthat can combine buffered data into async states.- Specified by:
createRecordsCombinerin interfaceAsyncStateRecordsCombiner.Factory- Parameters:
runtimeContext- the currentRuntimeContexttimerService- the service to register event-time and processing-time timerswindowState- the window state to flush buffered data into.isEventTime- indicates whether the operator works in event-time or processing-time mode, used for register corresponding timers.- Throws:
Exception
-