public abstract class SortMergeJoinIterator extends Object implements Closeable
| 限定符和类型 | 字段和说明 |
|---|---|
protected BinaryRow |
bufferedKey |
protected BinaryRow |
bufferedRow |
protected RecordComparator |
keyComparator |
protected ResettableExternalBuffer |
matchBuffer |
protected BinaryRow |
matchKey |
protected BinaryRow |
probeKey |
| 构造器和说明 |
|---|
SortMergeJoinIterator(BinaryRowSerializer probeSerializer,
BinaryRowSerializer bufferedSerializer,
Projection<BaseRow,BinaryRow> probeProjection,
Projection<BaseRow,BinaryRow> bufferedProjection,
RecordComparator keyComparator,
org.apache.flink.util.MutableObjectIterator<BaseRow> probeIterator,
org.apache.flink.util.MutableObjectIterator<BinaryRow> bufferedIterator,
ResettableExternalBuffer buffer,
boolean[] filterNulls) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
advanceNextSuitableBufferedRow() |
protected boolean |
advanceNextSuitableProbeRow() |
protected void |
bufferMatchingRows() |
void |
close() |
ResettableExternalBuffer |
getMatchBuffer() |
BinaryRow |
getMatchKey() |
BaseRow |
getProbeRow() |
protected boolean |
nextProbe() |
protected final RecordComparator keyComparator
protected BinaryRow probeKey
protected BinaryRow bufferedRow
protected BinaryRow bufferedKey
protected BinaryRow matchKey
protected ResettableExternalBuffer matchBuffer
public SortMergeJoinIterator(BinaryRowSerializer probeSerializer, BinaryRowSerializer bufferedSerializer, Projection<BaseRow,BinaryRow> probeProjection, Projection<BaseRow,BinaryRow> bufferedProjection, RecordComparator keyComparator, org.apache.flink.util.MutableObjectIterator<BaseRow> probeIterator, org.apache.flink.util.MutableObjectIterator<BinaryRow> 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 BaseRow getProbeRow()
public BinaryRow getMatchKey()
public ResettableExternalBuffer getMatchBuffer()
public void close()
close 在接口中 Closeableclose 在接口中 AutoCloseableCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.