Interface AsyncStateRecordsCombiner.Factory
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AsyncStateAggCombiner.Factory
- Enclosing interface:
- AsyncStateRecordsCombiner
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A factory that creates a
AsyncStateRecordsCombiner.-
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.
-
Method Details
-
createRecordsCombiner
AsyncStateRecordsCombiner createRecordsCombiner(org.apache.flink.api.common.functions.RuntimeContext runtimeContext, WindowTimerService<Long> timerService, WindowAsyncState<Long> windowState, boolean isEventTime) throws Exception Creates aAsyncStateRecordsCombinerthat can combine buffered data into async states.- 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
-