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 createAsyncStateAggCombiner.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Factory(GeneratedNamespaceAggsHandleFunction<Long> genAggsHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncStateRecordsCombinercreateRecordsCombiner(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 Detail
-
Factory
public Factory(GeneratedNamespaceAggsHandleFunction<Long> genAggsHandler)
-
-
Method Detail
-
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
-
-