public class KeyedProcessOperator<KEY,IN,OUT> extends ProcessOperator<IN,OUT>
OneInputStreamProcessFunction
in KeyedPartitionStream
.context, nonPartitionedContext, outputCollector
userFunction
chainingStrategy, config, lastRecordAttributes1, lastRecordAttributes2, latencyStats, LOG, metrics, output, processingTimeService, stateKeySelector1, stateKeySelector2, timeServiceManager
Constructor and Description |
---|
KeyedProcessOperator(OneInputStreamProcessFunction<IN,OUT> userFunction) |
KeyedProcessOperator(OneInputStreamProcessFunction<IN,OUT> userFunction,
KeySelector<OUT,KEY> outKeySelector) |
Modifier and Type | Method and Description |
---|---|
protected TimestampCollector<OUT> |
getOutputCollector() |
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 KeyedProcessOperator(OneInputStreamProcessFunction<IN,OUT> userFunction)
public KeyedProcessOperator(OneInputStreamProcessFunction<IN,OUT> userFunction, @Nullable KeySelector<OUT,KEY> outKeySelector)
protected TimestampCollector<OUT> getOutputCollector()
getOutputCollector
in class ProcessOperator<IN,OUT>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.