public abstract class SortMergeJoinIterator extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.flink.table.data.binary.BinaryRowData |
bufferedKey |
protected org.apache.flink.table.data.binary.BinaryRowData |
bufferedRow |
protected RecordComparator |
keyComparator |
protected ResettableExternalBuffer |
matchBuffer |
protected org.apache.flink.table.data.binary.BinaryRowData |
matchKey |
protected org.apache.flink.table.data.binary.BinaryRowData |
probeKey |
| Constructor and Description |
|---|
SortMergeJoinIterator(BinaryRowDataSerializer probeSerializer,
BinaryRowDataSerializer bufferedSerializer,
Projection<org.apache.flink.table.data.RowData,org.apache.flink.table.data.binary.BinaryRowData> probeProjection,
Projection<org.apache.flink.table.data.RowData,org.apache.flink.table.data.binary.BinaryRowData> bufferedProjection,
RecordComparator keyComparator,
org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.RowData> probeIterator,
org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData> bufferedIterator,
ResettableExternalBuffer buffer,
boolean[] filterNulls) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
advanceNextSuitableBufferedRow() |
protected boolean |
advanceNextSuitableProbeRow() |
protected void |
bufferMatchingRows() |
void |
close() |
ResettableExternalBuffer |
getMatchBuffer() |
org.apache.flink.table.data.binary.BinaryRowData |
getMatchKey() |
org.apache.flink.table.data.RowData |
getProbeRow() |
protected boolean |
nextProbe() |
protected final RecordComparator keyComparator
protected org.apache.flink.table.data.binary.BinaryRowData probeKey
protected org.apache.flink.table.data.binary.BinaryRowData bufferedRow
protected org.apache.flink.table.data.binary.BinaryRowData bufferedKey
protected org.apache.flink.table.data.binary.BinaryRowData matchKey
protected ResettableExternalBuffer matchBuffer
public SortMergeJoinIterator(BinaryRowDataSerializer probeSerializer, BinaryRowDataSerializer bufferedSerializer, Projection<org.apache.flink.table.data.RowData,org.apache.flink.table.data.binary.BinaryRowData> probeProjection, Projection<org.apache.flink.table.data.RowData,org.apache.flink.table.data.binary.BinaryRowData> bufferedProjection, RecordComparator keyComparator, org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.RowData> probeIterator, org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData> bufferedIterator, ResettableExternalBuffer buffer, boolean[] filterNulls) throws IOException
IOExceptionprotected boolean advanceNextSuitableProbeRow()
throws IOException
IOExceptionprotected boolean advanceNextSuitableBufferedRow()
throws IOException
IOExceptionprotected boolean nextProbe()
throws IOException
IOExceptionprotected void bufferMatchingRows()
throws IOException
IOExceptionpublic org.apache.flink.table.data.RowData getProbeRow()
public org.apache.flink.table.data.binary.BinaryRowData getMatchKey()
public ResettableExternalBuffer getMatchBuffer()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.