public class CommitterOperator extends org.apache.flink.streaming.api.operators.AbstractStreamOperator<Committable> implements org.apache.flink.streaming.api.operators.OneInputStreamOperator<Committable,Committable>, org.apache.flink.streaming.api.operators.BoundedOneInput
Committable.| 构造器和说明 |
|---|
CommitterOperator(boolean streamingCheckpointEnabled,
org.apache.flink.util.function.SerializableFunction<String,Committer> committerFactory,
org.apache.flink.util.function.SerializableSupplier<org.apache.flink.core.io.SimpleVersionedSerializer<org.apache.flink.table.store.file.manifest.ManifestCommittable>> committableSerializer) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
endInput() |
void |
initializeState(org.apache.flink.runtime.state.StateInitializationContext context) |
void |
notifyCheckpointComplete(long checkpointId) |
void |
processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<Committable> element) |
void |
snapshotState(org.apache.flink.runtime.state.StateSnapshotContext context) |
finish, getChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getTimeServiceManager, getUserCodeClassloader, initializeState, isUsingCustomRawKeyedState, notifyCheckpointAborted, open, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processWatermark, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setProcessingTimeService, setup, snapshotStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic CommitterOperator(boolean streamingCheckpointEnabled,
org.apache.flink.util.function.SerializableFunction<String,Committer> committerFactory,
org.apache.flink.util.function.SerializableSupplier<org.apache.flink.core.io.SimpleVersionedSerializer<org.apache.flink.table.store.file.manifest.ManifestCommittable>> committableSerializer)
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<Committable>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<Committable>Exceptionpublic void endInput()
throws Exception
endInput 在接口中 org.apache.flink.streaming.api.operators.BoundedOneInputExceptionpublic void notifyCheckpointComplete(long checkpointId)
throws Exception
notifyCheckpointComplete 在接口中 org.apache.flink.api.common.state.CheckpointListenernotifyCheckpointComplete 在类中 org.apache.flink.streaming.api.operators.AbstractStreamOperator<Committable>Exceptionpublic void processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<Committable> element)
processElement 在接口中 org.apache.flink.streaming.api.operators.Input<Committable>public void close()
throws Exception
close 在接口中 org.apache.flink.streaming.api.operators.StreamOperator<Committable>close 在类中 org.apache.flink.streaming.api.operators.AbstractStreamOperator<Committable>ExceptionCopyright © 2019–2022 The Apache Software Foundation. All rights reserved.