Class DataStreamV2SinkTransformation<InputT,OutputT>

java.lang.Object
org.apache.flink.api.dag.Transformation<T>
org.apache.flink.streaming.api.transformations.PhysicalTransformation<OutputT>
org.apache.flink.streaming.api.transformations.DataStreamV2SinkTransformation<InputT,OutputT>
Type Parameters:
InputT - The input type of the SinkWriter
OutputT - The output type of the Sink

@Internal public class DataStreamV2SinkTransformation<InputT,OutputT> extends org.apache.flink.streaming.api.transformations.PhysicalTransformation<OutputT>
The Transformation for DataStream V2 based sink.
  • Field Summary

    Fields inherited from class org.apache.flink.api.dag.Transformation

    bufferTimeout, description, id, name, outputType, typeUsed, UPPER_BOUND_MAX_PARALLELISM
  • Constructor Summary

    Constructors
    Constructor
    Description
    DataStreamV2SinkTransformation(AbstractDataStream<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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.streaming.api.operators.ChainingStrategy
     
    List<org.apache.flink.api.dag.Transformation<?>>
     
     
    org.apache.flink.api.connector.sink2.Sink<InputT>
     
    protected List<org.apache.flink.api.dag.Transformation<?>>
     
    void
    setChainingStrategy(org.apache.flink.streaming.api.operators.ChainingStrategy strategy)
     

    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, enableAsyncState, 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DataStreamV2SinkTransformation

      public DataStreamV2SinkTransformation(AbstractDataStream<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)
  • Method Details

    • setChainingStrategy

      public void setChainingStrategy(org.apache.flink.streaming.api.operators.ChainingStrategy strategy)
      Specified by:
      setChainingStrategy in class org.apache.flink.streaming.api.transformations.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 org.apache.flink.streaming.api.operators.ChainingStrategy getChainingStrategy()
    • getInputStream

      public AbstractDataStream<InputT> getInputStream()
    • getSink

      public org.apache.flink.api.connector.sink2.Sink<InputT> getSink()