Class SourceTransformation<OUT,SplitT extends org.apache.flink.api.connector.source.SourceSplit,EnumChkT>

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<OUT>
org.apache.flink.streaming.api.transformations.SourceTransformation<OUT,SplitT,EnumChkT>
All Implemented Interfaces:
WithBoundedness

@Internal public class SourceTransformation<OUT,SplitT extends org.apache.flink.api.connector.source.SourceSplit,EnumChkT> extends TransformationWithLineage<OUT> implements WithBoundedness
  • 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
    SourceTransformation(String name, org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism)
    Creates a new Transformation with the given name, output type and parallelism.
    SourceTransformation(String name, org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism, boolean parallelismConfigured)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.api.connector.source.Boundedness
    Returns the Boundedness of this Transformation.
     
     
    List<org.apache.flink.api.dag.Transformation<?>>
     
    org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT>
     
    protected List<org.apache.flink.api.dag.Transformation<?>>
     
    org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT>
     
    void
    Sets the chaining strategy of this Transformation.
    void
    setCoordinatorListeningID(String coordinatorListeningID)
     

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

    • SourceTransformation

      public SourceTransformation(String name, org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism)
      Creates a new Transformation with the given name, output type and parallelism.
      Parameters:
      name - The name of the Transformation, this will be shown in Visualizations and the Log
      source - The Source itself
      watermarkStrategy - The WatermarkStrategy to use
      outputType - The output type of this Transformation
      parallelism - The parallelism of this Transformation
    • SourceTransformation

      public SourceTransformation(String name, org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism, boolean parallelismConfigured)
  • Method Details

    • getSource

      public org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT> getSource()
    • getWatermarkStrategy

      public org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> getWatermarkStrategy()
    • getBoundedness

      public org.apache.flink.api.connector.source.Boundedness getBoundedness()
      Description copied from interface: WithBoundedness
      Returns the Boundedness of this Transformation.
      Specified by:
      getBoundedness in interface WithBoundedness
    • getTransitivePredecessorsInternal

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

      public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
      Specified by:
      getInputs in class org.apache.flink.api.dag.Transformation<OUT>
    • setChainingStrategy

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

      public ChainingStrategy getChainingStrategy()
    • setCoordinatorListeningID

      public void setCoordinatorListeningID(@Nullable String coordinatorListeningID)
    • getCoordinatorListeningID

      @Nullable public String getCoordinatorListeningID()