Interface RecordsCombiner.Factory
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AggCombiner.Factory,GlobalAggCombiner.Factory,RowTimeDeduplicateRecordsCombiner.Factory,TopNRecordsCombiner.Factory
- Enclosing interface:
- RecordsCombiner
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface RecordsCombiner.Factory extends Serializable
A factory that creates aRecordsCombiner.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecordsCombinercreateRecordsCombiner(org.apache.flink.api.common.functions.RuntimeContext runtimeContext, WindowTimerService<Long> timerService, org.apache.flink.runtime.state.KeyedStateBackend<org.apache.flink.table.data.RowData> stateBackend, WindowState<Long> windowState, boolean isEventTime)Creates aRecordsCombinerthat can combine buffered data into states.
-
-
-
Method Detail
-
createRecordsCombiner
RecordsCombiner createRecordsCombiner(org.apache.flink.api.common.functions.RuntimeContext runtimeContext, WindowTimerService<Long> timerService, org.apache.flink.runtime.state.KeyedStateBackend<org.apache.flink.table.data.RowData> stateBackend, WindowState<Long> windowState, boolean isEventTime) throws Exception
Creates aRecordsCombinerthat can combine buffered data into states.- Parameters:
runtimeContext- the currentRuntimeContexttimerService- 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.- Throws:
Exception
-
-