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 the SinkWriter
OutputT - The output type of the Sink

@Internal public class SinkTransformation<InputT,OutputT> extends TransformationWithLineage<OutputT>
A Transformation for Sink.
  • Constructor Details

    • 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 Details

    • setChainingStrategy

      public void setChainingStrategy(ChainingStrategy strategy)
      Description copied from class: PhysicalTransformation
      Sets the chaining strategy of this Transformation.
      Specified by:
      setChainingStrategy in class PhysicalTransformation<OutputT>
    • getTransitivePredecessorsInternal

      protected List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessorsInternal()
      Specified by:
      getTransitivePredecessorsInternal in class org.apache.flink.api.dag.Transformation<OutputT>
    • getInputs

      public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
      Specified by:
      getInputs in class org.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()