Class OuterRecord
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.join.stream.utils.OuterRecord
-
public final class OuterRecord extends Object
AnOuterRecordis a composite of record andnumOfAssociations. ThenumOfAssociationsrepresents the number of associated records in the other side. It is used when the record is from outer side (e.g. left side in LEFT OUTER JOIN). When thenumOfAssociationsis ZERO, we need to send a null padding row. This is useful to avoid recompute the associated numbers every time.When the record is from inner side (e.g. right side in LEFT OUTER JOIN), the
numOfAssociationswill always be-1.
-
-
Field Summary
Fields Modifier and Type Field Description intnumOfAssociationsorg.apache.flink.table.data.RowDatarecord
-
Constructor Summary
Constructors Constructor Description OuterRecord(org.apache.flink.table.data.RowData record)OuterRecord(org.apache.flink.table.data.RowData record, int numOfAssociations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumOfAssociations()org.apache.flink.table.data.RowDatagetRecord()
-