Class AbstractStreamingJoinOperator.AssociatedRecords
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.join.stream.AbstractStreamingJoinOperator.AssociatedRecords
-
- Enclosing class:
- AbstractStreamingJoinOperator
protected static final class AbstractStreamingJoinOperator.AssociatedRecords extends Object
TheAbstractStreamingJoinOperator.AssociatedRecordsis the records associated to the input row. It is a wrapper ofList<OuterRecord>which provides two helpful methodsgetRecords()andgetOuterRecords(). See the method Javadoc for more details.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<AbstractStreamingJoinOperator.OuterRecord>getOuterRecords()Gets the iterable ofAbstractStreamingJoinOperator.OuterRecordwhich composites record and numOfAssociations.Iterable<org.apache.flink.table.data.RowData>getRecords()Gets the iterable of records.booleanisEmpty()static AbstractStreamingJoinOperator.AssociatedRecordsof(org.apache.flink.table.data.RowData input, boolean inputIsLeft, JoinRecordStateView otherSideStateView, JoinCondition condition)Creates anAbstractStreamingJoinOperator.AssociatedRecordswhich represents the records associated to the input row.intsize()
-
-
-
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 theAbstractStreamingJoinOperator.AssociatedRecordsis from inner side.
-
getOuterRecords
public Iterable<AbstractStreamingJoinOperator.OuterRecord> getOuterRecords()
Gets the iterable ofAbstractStreamingJoinOperator.OuterRecordwhich composites record and numOfAssociations. This is usually be called when theAbstractStreamingJoinOperator.AssociatedRecordsis from outer side.
-
of
public static AbstractStreamingJoinOperator.AssociatedRecords of(org.apache.flink.table.data.RowData input, boolean inputIsLeft, JoinRecordStateView otherSideStateView, JoinCondition condition) throws Exception
Creates anAbstractStreamingJoinOperator.AssociatedRecordswhich represents the records associated to the input row.- Throws:
Exception
-
-