Class SinkTransformation<InputT,OutputT>
- java.lang.Object
-
- org.apache.flink.api.dag.Transformation<T>
-
- org.apache.flink.streaming.api.transformations.PhysicalTransformation<T>
-
- org.apache.flink.streaming.api.transformations.TransformationWithLineage<OutputT>
-
- org.apache.flink.streaming.api.transformations.SinkTransformation<InputT,OutputT>
-
- Type Parameters:
InputT- The input type of theSinkWriterOutputT- The output type of theSink
@Internal public class SinkTransformation<InputT,OutputT> extends TransformationWithLineage<OutputT>
ATransformationforSink.
-
-
Constructor Summary
Constructors Constructor Description SinkTransformation(DataStream<InputT> inputStream, org.apache.flink.api.connector.sink2.Sink<InputT> sink, org.apache.flink.api.common.typeinfo.TypeInformation<OutputT> outputType, String name, int parallelism, boolean parallelismConfigured, CustomSinkOperatorUidHashes customSinkOperatorUidHashes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChainingStrategygetChainingStrategy()List<org.apache.flink.api.dag.Transformation<?>>getInputs()DataStream<InputT>getInputStream()org.apache.flink.api.connector.sink2.Sink<InputT>getSink()CustomSinkOperatorUidHashesgetSinkOperatorsUidHashes()protected List<org.apache.flink.api.dag.Transformation<?>>getTransitivePredecessorsInternal()voidsetChainingStrategy(ChainingStrategy strategy)Sets the chaining strategy of thisTransformation.-
Methods inherited from class org.apache.flink.streaming.api.transformations.TransformationWithLineage
getLineageVertex, setLineageVertex
-
Methods inherited from class org.apache.flink.streaming.api.transformations.PhysicalTransformation
isSupportsConcurrentExecutionAttempts, setSupportsConcurrentExecutionAttempts
-
Methods inherited from class org.apache.flink.api.dag.Transformation
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, equals, getAttribute, getBufferTimeout, getCoLocationGroupKey, getDescription, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getTransitivePredecessors, getUid, getUserProvidedNodeHash, hashCode, isParallelismConfigured, setAttribute, setBufferTimeout, setCoLocationGroupKey, setDescription, setMaxParallelism, setName, setOutputType, setParallelism, setParallelism, setResources, setSlotSharingGroup, setSlotSharingGroup, setUid, setUidHash, toString, updateManagedMemoryStateBackendUseCase
-
-
-
-
Constructor Detail
-
SinkTransformation
public SinkTransformation(DataStream<InputT> inputStream, org.apache.flink.api.connector.sink2.Sink<InputT> sink, org.apache.flink.api.common.typeinfo.TypeInformation<OutputT> outputType, String name, int parallelism, boolean parallelismConfigured, CustomSinkOperatorUidHashes customSinkOperatorUidHashes)
-
-
Method Detail
-
setChainingStrategy
public void setChainingStrategy(ChainingStrategy strategy)
Description copied from class:PhysicalTransformationSets the chaining strategy of thisTransformation.- Specified by:
setChainingStrategyin classPhysicalTransformation<OutputT>
-
getTransitivePredecessorsInternal
protected List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessorsInternal()
- Specified by:
getTransitivePredecessorsInternalin classorg.apache.flink.api.dag.Transformation<OutputT>
-
getInputs
public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
- Specified by:
getInputsin classorg.apache.flink.api.dag.Transformation<OutputT>
-
getChainingStrategy
@Nullable public ChainingStrategy getChainingStrategy()
-
getInputStream
public DataStream<InputT> getInputStream()
-
getSink
public org.apache.flink.api.connector.sink2.Sink<InputT> getSink()
-
getSinkOperatorsUidHashes
public CustomSinkOperatorUidHashes getSinkOperatorsUidHashes()
-
-