public class CdcDynamicBucketWriteOperator extends TableWriteOperator<org.apache.flink.api.java.tuple.Tuple2<CdcRecord,Integer>>
PrepareCommitOperator
to write CdcRecord
with bucket. Record schema is fixed.Modifier and Type | Class and Description |
---|---|
static class |
CdcDynamicBucketWriteOperator.Factory
StreamOperatorFactory of CdcDynamicBucketWriteOperator . |
table, write
memoryPool
Modifier and Type | Method and Description |
---|---|
protected boolean |
containLogSystem() |
void |
initializeState(org.apache.flink.runtime.state.StateInitializationContext context) |
void |
processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.api.java.tuple.Tuple2<CdcRecord,Integer>> element) |
close, createState, getCommitUser, getWrite, prepareCommit, processRecordAttributes, snapshotState
endInput, prepareSnapshotPreBarrier, setup
finish, getChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getStateKeySelector1, getStateKeySelector2, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, open, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processRecordAttributes1, processRecordAttributes2, processWatermark, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setMailboxExecutor, setProcessingTimeService, snapshotState, useSplittableTimers
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setKeyContextElement
finish, getMetricGroup, getOperatorAttributes, getOperatorID, initializeState, open, setKeyContextElement1, setKeyContextElement2, snapshotState
notifyCheckpointAborted, notifyCheckpointComplete
getCurrentKey, setCurrentKey
public void initializeState(org.apache.flink.runtime.state.StateInitializationContext context) throws Exception
initializeState
in interface org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperator
initializeState
in class TableWriteOperator<org.apache.flink.api.java.tuple.Tuple2<CdcRecord,Integer>>
Exception
protected boolean containLogSystem()
containLogSystem
in class TableWriteOperator<org.apache.flink.api.java.tuple.Tuple2<CdcRecord,Integer>>
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.