Class SortMergeFullOuterJoinIterator
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.join.SortMergeFullOuterJoinIterator
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class SortMergeFullOuterJoinIterator extends Object implements Closeable
Gets two matched rows for full outer join.
-
-
Constructor Summary
Constructors Constructor Description SortMergeFullOuterJoinIterator(BinaryRowDataSerializer serializer1, BinaryRowDataSerializer serializer2, Projection<org.apache.flink.table.data.RowData,org.apache.flink.table.data.binary.BinaryRowData> projection1, Projection<org.apache.flink.table.data.RowData,org.apache.flink.table.data.binary.BinaryRowData> projection2, RecordComparator keyComparator, org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData> iterator1, org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData> iterator2, ResettableExternalBuffer buffer1, ResettableExternalBuffer buffer2, boolean[] filterNulls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ResettableExternalBuffergetBuffer1()ResettableExternalBuffergetBuffer2()org.apache.flink.table.data.binary.BinaryRowDatagetMatchKey()booleannextOuterJoin()
-
-
-
Constructor Detail
-
SortMergeFullOuterJoinIterator
public SortMergeFullOuterJoinIterator(BinaryRowDataSerializer serializer1, BinaryRowDataSerializer serializer2, Projection<org.apache.flink.table.data.RowData,org.apache.flink.table.data.binary.BinaryRowData> projection1, Projection<org.apache.flink.table.data.RowData,org.apache.flink.table.data.binary.BinaryRowData> projection2, RecordComparator keyComparator, org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData> iterator1, org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData> iterator2, ResettableExternalBuffer buffer1, ResettableExternalBuffer buffer2, boolean[] filterNulls) throws IOException
- Throws:
IOException
-
-
Method Detail
-
nextOuterJoin
public boolean nextOuterJoin() throws IOException- Throws:
IOException
-
getMatchKey
public org.apache.flink.table.data.binary.BinaryRowData getMatchKey()
-
getBuffer1
public ResettableExternalBuffer getBuffer1()
-
getBuffer2
public ResettableExternalBuffer getBuffer2()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-