public abstract class SortMergeJoinIterator extends Object implements Closeable
| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 Closeableclose 在接口中 AutoCloseableCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.