public class SortMergeJoinOperator extends TableStreamOperator<BaseRow> implements org.apache.flink.streaming.api.operators.TwoInputStreamOperator<BaseRow,BaseRow,BaseRow>, org.apache.flink.streaming.api.operators.BoundedMultiInput
NOTE: SEMI and ANTI join output input1 instead of input2. (Contrary to HashJoinOperator).
| 构造器和说明 |
|---|
SortMergeJoinOperator(double externalBufferMemRatio,
FlinkJoinType type,
boolean leftIsSmaller,
GeneratedJoinCondition condFuncCode,
GeneratedProjection projectionCode1,
GeneratedProjection projectionCode2,
GeneratedNormalizedKeyComputer computer1,
GeneratedRecordComparator comparator1,
GeneratedNormalizedKeyComputer computer2,
GeneratedRecordComparator comparator2,
GeneratedRecordComparator genKeyComparator,
boolean[] filterNulls) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
endInput(int inputId) |
void |
open() |
void |
processElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<BaseRow> element) |
void |
processElement2(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<BaseRow> element) |
computeMemorySize, disposegetChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getUserCodeClassloader, initializeState, initializeState, notifyCheckpointComplete, numEventTimeTimers, numProcessingTimeTimers, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processWatermark, processWatermark1, processWatermark2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setup, snapshotState, snapshotStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessLatencyMarker1, processLatencyMarker2, processWatermark1, processWatermark2public SortMergeJoinOperator(double externalBufferMemRatio,
FlinkJoinType type,
boolean leftIsSmaller,
GeneratedJoinCondition condFuncCode,
GeneratedProjection projectionCode1,
GeneratedProjection projectionCode2,
GeneratedNormalizedKeyComputer computer1,
GeneratedRecordComparator comparator1,
GeneratedNormalizedKeyComputer computer2,
GeneratedRecordComparator comparator2,
GeneratedRecordComparator genKeyComparator,
boolean[] filterNulls)
public void open()
throws Exception
public void processElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<BaseRow> element) throws Exception
public void processElement2(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<BaseRow> element) throws Exception
public void endInput(int inputId)
throws Exception
endInput 在接口中 org.apache.flink.streaming.api.operators.BoundedMultiInputExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.