Class BatchDataSinkFunctionOperator
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.AbstractStreamOperator<OUT>
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.state.CheckpointListener,org.apache.flink.streaming.api.operators.Input<Event>,org.apache.flink.streaming.api.operators.KeyContext,org.apache.flink.streaming.api.operators.KeyContextHandler,org.apache.flink.streaming.api.operators.OneInputStreamOperator<Event,Object>,org.apache.flink.streaming.api.operators.OutputTypeConfigurable<Object>,org.apache.flink.streaming.api.operators.SetupableStreamOperator<Object>,org.apache.flink.streaming.api.operators.StreamOperator<Object>,org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperator,org.apache.flink.streaming.api.operators.UserFunctionProvider<org.apache.flink.streaming.api.functions.sink.SinkFunction<Event>>,org.apache.flink.streaming.api.operators.YieldingOperator<Object>
@Internal public class BatchDataSinkFunctionOperator extends org.apache.flink.streaming.api.operators.StreamSink<Event>
An operator that processes records to be written into aSinkFunctionin batch mode.The operator is a proxy of
StreamSinkin Flink.The operator is always part of a sink pipeline and is the first operator.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchDataSinkFunctionOperator(org.apache.flink.streaming.api.functions.sink.SinkFunction<Event> userFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<Event> element)-
Methods inherited from class org.apache.flink.streaming.api.operators.StreamSink
open, processWatermark, reportOrForwardLatencyMarker
-
Methods inherited from class org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator
close, finish, getUserFunction, getUserFunctionParameters, initializeState, notifyCheckpointAborted, notifyCheckpointComplete, setOutputType, setup, snapshotState
-
Methods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperator
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, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processRecordAttributes, processRecordAttributes1, processRecordAttributes2, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setMailboxExecutor, setProcessingTimeService, snapshotState, useSplittableTimers
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.api.common.state.CheckpointListener
notifyCheckpointAborted, notifyCheckpointComplete
-
Methods inherited from interface org.apache.flink.streaming.api.operators.Input
processLatencyMarker, processRecordAttributes, processWatermarkStatus
-
Methods inherited from interface org.apache.flink.streaming.api.operators.KeyContext
getCurrentKey, setCurrentKey
-
Methods inherited from interface org.apache.flink.streaming.api.operators.KeyContextHandler
hasKeyContext
-
-
-
-
Constructor Detail
-
BatchDataSinkFunctionOperator
public BatchDataSinkFunctionOperator(org.apache.flink.streaming.api.functions.sink.SinkFunction<Event> userFunction)
-
-