Interface RecordsCombiner.Factory

    • Method Detail

      • createRecordsCombiner

        RecordsCombiner createRecordsCombiner​(RuntimeContext runtimeContext,
                                              WindowTimerService<Long> timerService,
                                              KeyedStateBackend<RowData> stateBackend,
                                              WindowState<Long> windowState,
                                              boolean isEventTime)
                                       throws Exception
        Creates a RecordsCombiner that can combine buffered data into states.
        Parameters:
        runtimeContext - the current RuntimeContext
        timerService - the service to register event-time and processing-time timers
        stateBackend - the state backend to accessing states
        windowState - 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