Class AssociatedRecords


  • public class AssociatedRecords
    extends Object
    The AssociatedRecords is the records associated to the input row. It is a wrapper of List<OuterRecord> which provides two helpful methods getRecords() and getOuterRecords(). See the method Javadoc for more details.
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • size

        public int size()
      • getRecords

        public Iterable<org.apache.flink.table.data.RowData> getRecords()
        Gets the iterable of records. This is usually be called when the AssociatedRecords is from inner side.
      • fromAsyncStateView

        public static org.apache.flink.api.common.state.v2.StateFuture<AssociatedRecords> fromAsyncStateView​(org.apache.flink.table.data.RowData input,
                                                                                                             boolean inputIsLeft,
                                                                                                             JoinRecordAsyncStateView otherSideAsyncStateView,
                                                                                                             JoinCondition joinCondition)
                                                                                                      throws Exception
        Creates an AssociatedRecords which represents the records associated to the input row.

        This method is used in the async state join operator.

        Throws:
        Exception