@FunctionalInterface public static interface RecordsCombiner.Factory extends Serializable
RecordsCombiner
.Modifier and Type | Method and Description |
---|---|
RecordsCombiner |
createRecordsCombiner(RuntimeContext runtimeContext,
WindowTimerService<Long> timerService,
KeyedStateBackend<RowData> stateBackend,
WindowState<Long> windowState,
boolean isEventTime)
Creates a
RecordsCombiner that can combine buffered data into states. |
RecordsCombiner createRecordsCombiner(RuntimeContext runtimeContext, WindowTimerService<Long> timerService, KeyedStateBackend<RowData> stateBackend, WindowState<Long> windowState, boolean isEventTime) throws Exception
RecordsCombiner
that can combine buffered data into states.runtimeContext
- the current RuntimeContext
timerService
- the service to register event-time and processing-time timersstateBackend
- the state backend to accessing stateswindowState
- 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.Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.