public class KeyedTwoOutputProcessOperator<KEY,IN,OUT_MAIN,OUT_SIDE> extends TwoOutputProcessOperator<IN,OUT_MAIN,OUT_SIDE>
TwoOutputProcessOperator.SideOutputCollector
context, mainCollector, nonPartitionedContext, outputTag, sideCollector
userFunction
chainingStrategy, config, lastRecordAttributes1, lastRecordAttributes2, latencyStats, LOG, metrics, output, processingTimeService, stateKeySelector1, stateKeySelector2, timeServiceManager
Constructor and Description |
---|
KeyedTwoOutputProcessOperator(TwoOutputStreamProcessFunction<IN,OUT_MAIN,OUT_SIDE> userFunction,
OutputTag<OUT_SIDE> outputTag) |
KeyedTwoOutputProcessOperator(TwoOutputStreamProcessFunction<IN,OUT_MAIN,OUT_SIDE> userFunction,
OutputTag<OUT_SIDE> outputTag,
KeySelector<OUT_MAIN,KEY> mainOutKeySelector,
KeySelector<OUT_SIDE,KEY> sideOutKeySelector) |
Modifier and Type | Method and Description |
---|---|
protected TimestampCollector<OUT_MAIN> |
getMainCollector() |
TimestampCollector<OUT_SIDE> |
getSideCollector() |
endInput, open, processElement
close, finish, getUserFunction, initializeState, notifyCheckpointAborted, notifyCheckpointComplete, setOutputType, setup, snapshotState
getElementOrder, getInternalTimerService, getRecordProcessor, isAsyncStateProcessingEnabled, postProcessElement, preserveRecordOrderAndProcess, setAsyncKeyedContextElement, snapshotState
getChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, isUsingCustomRawKeyedState, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processRecordAttributes, processRecordAttributes1, processRecordAttributes2, processWatermark, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setProcessingTimeService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setKeyContextElement
close, finish, getMetricGroup, getOperatorAttributes, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotState
notifyCheckpointAborted, notifyCheckpointComplete
getCurrentKey, setCurrentKey
processLatencyMarker, processRecordAttributes, processWatermark, processWatermarkStatus
makeRecordProcessor
hasKeyContext
public KeyedTwoOutputProcessOperator(TwoOutputStreamProcessFunction<IN,OUT_MAIN,OUT_SIDE> userFunction, OutputTag<OUT_SIDE> outputTag)
public KeyedTwoOutputProcessOperator(TwoOutputStreamProcessFunction<IN,OUT_MAIN,OUT_SIDE> userFunction, OutputTag<OUT_SIDE> outputTag, @Nullable KeySelector<OUT_MAIN,KEY> mainOutKeySelector, @Nullable KeySelector<OUT_SIDE,KEY> sideOutKeySelector)
protected TimestampCollector<OUT_MAIN> getMainCollector()
getMainCollector
in class TwoOutputProcessOperator<IN,OUT_MAIN,OUT_SIDE>
public TimestampCollector<OUT_SIDE> getSideCollector()
getSideCollector
in class TwoOutputProcessOperator<IN,OUT_MAIN,OUT_SIDE>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.