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 Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A factory that creates a AsyncStateRecordsCombiner.
  • Method Summary

    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.
    void
    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 and RowData objects are reused.
      Throws:
      Exception
    • close

      void close() throws Exception
      Release resources allocated by this combine function.
      Throws:
      Exception