Interface AsyncStateRecordsCombiner
-
- All Known Implementing Classes:
AsyncStateAggCombiner
@Internal public interface AsyncStateRecordsCombinerTheAsyncStateRecordsCombineris used to combine buffered records into async state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAsyncStateRecordsCombiner.FactoryA factory that creates aAsyncStateRecordsCombiner.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.flink.api.common.state.v2.StateFuture<Void>asyncCombine(Long window, Iterator<org.apache.flink.table.data.RowData> records)Combines the buffered data into async state based on the given window.voidclose()Release resources allocated by this combine function.
-
-
-
Method Detail
-
asyncCombine
org.apache.flink.api.common.state.v2.StateFuture<Void> asyncCombine(Long window, Iterator<org.apache.flink.table.data.RowData> records) throws Exception
Combines the buffered data into async state based on the given window.- Parameters:
window- the window that the buffered data belong to, the window object is reused.records- the buffered data, the iterator andRowDataobjects are reused.- Throws:
Exception
-
-