public class PreTransformOperator 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>, Serializable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PreTransformOperator.Builder
Builder of
PreTransformOperator. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
finish() |
void |
initializeState(org.apache.flink.runtime.state.StateInitializationContext context) |
static PreTransformOperator.Builder |
newBuilder() |
void |
processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.cdc.common.event.Event> element) |
void |
processProjectionTransform(org.apache.flink.cdc.common.event.TableId tableId,
org.apache.flink.cdc.common.schema.Schema tableSchema,
LinkedHashSet<org.apache.flink.cdc.common.schema.Column> referencedColumnsSet,
PreTransformer transform) |
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) |
void |
snapshotState(org.apache.flink.runtime.state.StateSnapshotContext context) |
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, open, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processRecordAttributes, processRecordAttributes1, processRecordAttributes2, processWatermark, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setProcessingTimeService, snapshotStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricGroup, getOperatorID, initializeState, open, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompletepublic static PreTransformOperator.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 在接口中 org.apache.flink.streaming.api.operators.SetupableStreamOperator<org.apache.flink.cdc.common.event.Event>setup 在类中 org.apache.flink.streaming.api.operators.AbstractStreamOperator<org.apache.flink.cdc.common.event.Event>public void initializeState(org.apache.flink.runtime.state.StateInitializationContext context)
throws Exception
initializeState 在接口中 org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperatorinitializeState 在类中 org.apache.flink.streaming.api.operators.AbstractStreamOperator<org.apache.flink.cdc.common.event.Event>Exceptionpublic void snapshotState(org.apache.flink.runtime.state.StateSnapshotContext context)
throws Exception
snapshotState 在接口中 org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperatorsnapshotState 在类中 org.apache.flink.streaming.api.operators.AbstractStreamOperator<org.apache.flink.cdc.common.event.Event>Exceptionpublic void finish()
throws Exception
finish 在接口中 org.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.cdc.common.event.Event>finish 在类中 org.apache.flink.streaming.api.operators.AbstractStreamOperator<org.apache.flink.cdc.common.event.Event>Exceptionpublic void close()
throws Exception
close 在接口中 org.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.cdc.common.event.Event>close 在类中 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 在接口中 org.apache.flink.streaming.api.operators.Input<org.apache.flink.cdc.common.event.Event>Exceptionpublic void processProjectionTransform(org.apache.flink.cdc.common.event.TableId tableId,
org.apache.flink.cdc.common.schema.Schema tableSchema,
LinkedHashSet<org.apache.flink.cdc.common.schema.Column> referencedColumnsSet,
@Nullable
PreTransformer transform)
Copyright © 2025 The Apache Software Foundation. All rights reserved.