@Internal public class DistributedPrePartitionOperator extends org.apache.flink.streaming.api.operators.AbstractStreamOperator<PartitioningEvent> implements org.apache.flink.streaming.api.operators.OneInputStreamOperator<org.apache.flink.cdc.common.event.Event,PartitioningEvent>, Serializable
SchemaOperator.| 构造器和说明 |
|---|
DistributedPrePartitionOperator(int downstreamParallelism,
org.apache.flink.cdc.common.function.HashFunctionProvider<org.apache.flink.cdc.common.event.DataChangeEvent> hashFunctionProvider) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
open() |
void |
processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.cdc.common.event.Event> element) |
void |
snapshotState(org.apache.flink.runtime.state.StateSnapshotContext context) |
close, finish, getChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, initializeState, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processRecordAttributes, processRecordAttributes1, processRecordAttributes2, processWatermark, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setProcessingTimeService, setup, snapshotStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, finish, getMetricGroup, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompletepublic DistributedPrePartitionOperator(int downstreamParallelism,
org.apache.flink.cdc.common.function.HashFunctionProvider<org.apache.flink.cdc.common.event.DataChangeEvent> hashFunctionProvider)
public void open()
throws Exception
open 在接口中 org.apache.flink.streaming.api.operators.StreamOperator<PartitioningEvent>open 在类中 org.apache.flink.streaming.api.operators.AbstractStreamOperator<PartitioningEvent>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 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<PartitioningEvent>ExceptionCopyright © 2025 The Apache Software Foundation. All rights reserved.