Interface AsyncStateRecordsCombiner
- All Known Implementing Classes:
AsyncStateAggCombiner
@Internal
public interface AsyncStateRecordsCombiner
The
AsyncStateRecordsCombiner is used to combine buffered records into async state.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA factory that creates aAsyncStateRecordsCombiner. -
Method Summary
Modifier and TypeMethodDescriptionorg.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 Details
-
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
-
close
Release resources allocated by this combine function.- Throws:
Exception
-