protected static final class AbstractStreamingJoinOperator.AssociatedRecords extends Object
AbstractStreamingJoinOperator.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.| Modifier and Type | Method and Description |
|---|---|
Iterable<AbstractStreamingJoinOperator.OuterRecord> |
getOuterRecords()
Gets the iterable of
AbstractStreamingJoinOperator.OuterRecord which composites record and numOfAssociations. |
Iterable<org.apache.flink.table.data.RowData> |
getRecords()
Gets the iterable of records.
|
boolean |
isEmpty() |
static AbstractStreamingJoinOperator.AssociatedRecords |
of(org.apache.flink.table.data.RowData input,
boolean inputIsLeft,
JoinRecordStateView otherSideStateView,
JoinCondition condition)
Creates an
AbstractStreamingJoinOperator.AssociatedRecords which represents the records associated to the input
row. |
int |
size() |
public boolean isEmpty()
public int size()
public Iterable<org.apache.flink.table.data.RowData> getRecords()
AbstractStreamingJoinOperator.AssociatedRecords is from inner side.public Iterable<AbstractStreamingJoinOperator.OuterRecord> getOuterRecords()
AbstractStreamingJoinOperator.OuterRecord which composites record and numOfAssociations.
This is usually be called when the AbstractStreamingJoinOperator.AssociatedRecords is from outer side.public static AbstractStreamingJoinOperator.AssociatedRecords of(org.apache.flink.table.data.RowData input, boolean inputIsLeft, JoinRecordStateView otherSideStateView, JoinCondition condition) throws Exception
AbstractStreamingJoinOperator.AssociatedRecords which represents the records associated to the input
row.ExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.