@Internal
public class BatchDataSinkFunctionOperator
extends org.apache.flink.streaming.api.operators.StreamSink<org.apache.flink.cdc.common.event.Event>
SinkFunction in batch mode.
The operator is a proxy of StreamSink in Flink.
The operator is always part of a sink pipeline and is the first operator.
| 构造器和说明 |
|---|
BatchDataSinkFunctionOperator(org.apache.flink.streaming.api.functions.sink.SinkFunction<org.apache.flink.cdc.common.event.Event> userFunction) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.cdc.common.event.Event> element) |
open, processWatermark, reportOrForwardLatencyMarkerclose, finish, getUserFunction, getUserFunctionParameters, initializeState, notifyCheckpointAborted, notifyCheckpointComplete, setOutputType, setup, snapshotStategetChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getStateKeySelector1, getStateKeySelector2, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, isUsingCustomRawKeyedState, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processRecordAttributes, processRecordAttributes1, processRecordAttributes2, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setMailboxExecutor, setProcessingTimeService, snapshotState, useSplittableTimersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, finish, getMetricGroup, getOperatorAttributes, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompletepublic BatchDataSinkFunctionOperator(org.apache.flink.streaming.api.functions.sink.SinkFunction<org.apache.flink.cdc.common.event.Event> userFunction)
public void processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.cdc.common.event.Event> element)
throws Exception
processElement 在接口中 org.apache.flink.streaming.api.operators.Input<org.apache.flink.cdc.common.event.Event>processElement 在类中 org.apache.flink.streaming.api.operators.StreamSink<org.apache.flink.cdc.common.event.Event>ExceptionCopyright © 2025 The Apache Software Foundation. All rights reserved.