public class TransformDataOperator
extends org.apache.flink.streaming.api.operators.AbstractStreamOperator<org.apache.flink.cdc.common.event.Event>
implements org.apache.flink.streaming.api.operators.OneInputStreamOperator<org.apache.flink.cdc.common.event.Event,org.apache.flink.cdc.common.event.Event>
| Modifier and Type | Class and Description |
|---|---|
static class |
TransformDataOperator.Builder
Builder of
TransformDataOperator. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finish() |
void |
initializeState(org.apache.flink.runtime.state.StateInitializationContext context) |
static TransformDataOperator.Builder |
newBuilder() |
void |
open() |
void |
processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.cdc.common.event.Event> element) |
void |
setup(org.apache.flink.streaming.runtime.tasks.StreamTask<?,?> containingTask,
org.apache.flink.streaming.api.graph.StreamConfig config,
org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.cdc.common.event.Event>> output) |
getChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processWatermark, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setProcessingTimeService, snapshotState, snapshotStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetKeyContextElementgetMetricGroup, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompletegetCurrentKey, setCurrentKeypublic static TransformDataOperator.Builder newBuilder()
public void setup(org.apache.flink.streaming.runtime.tasks.StreamTask<?,?> containingTask,
org.apache.flink.streaming.api.graph.StreamConfig config,
org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.cdc.common.event.Event>> output)
setup in interface org.apache.flink.streaming.api.operators.SetupableStreamOperator<org.apache.flink.cdc.common.event.Event>setup in class org.apache.flink.streaming.api.operators.AbstractStreamOperator<org.apache.flink.cdc.common.event.Event>public void open()
throws Exception
open in interface org.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.cdc.common.event.Event>open in class org.apache.flink.streaming.api.operators.AbstractStreamOperator<org.apache.flink.cdc.common.event.Event>Exceptionpublic void finish()
throws Exception
finish in interface org.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.cdc.common.event.Event>finish in class org.apache.flink.streaming.api.operators.AbstractStreamOperator<org.apache.flink.cdc.common.event.Event>Exceptionpublic void close()
throws Exception
close in interface org.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.cdc.common.event.Event>close in class org.apache.flink.streaming.api.operators.AbstractStreamOperator<org.apache.flink.cdc.common.event.Event>Exceptionpublic void initializeState(org.apache.flink.runtime.state.StateInitializationContext context)
throws Exception
initializeState in interface org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperatorinitializeState in class org.apache.flink.streaming.api.operators.AbstractStreamOperator<org.apache.flink.cdc.common.event.Event>Exceptionpublic void processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.cdc.common.event.Event> element)
throws Exception
processElement in interface org.apache.flink.streaming.api.operators.Input<org.apache.flink.cdc.common.event.Event>ExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.