Class SourceTransformationWrapper<T>

  • Type Parameters:
    T - The type of the elements in the input Transformation

    @Internal
    public class SourceTransformationWrapper<T>
    extends org.apache.flink.api.dag.Transformation<T>
    This Transformation is a phantom transformation which is used to expose a default parallelism to downstream.

    It is used only when the parallelism of the source transformation differs from the default parallelism, ensuring that the parallelism of downstream operations is not affected.

    Moreover, this transformation does not have a corresponding TransformationTranslator, meaning it will not become a node in the StreamGraph.

    • 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
      SourceTransformationWrapper​(org.apache.flink.api.dag.Transformation<T> input)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.flink.api.dag.Transformation<T> getInput()  
      List<org.apache.flink.api.dag.Transformation<?>> getInputs()  
      protected List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessorsInternal()  
      • 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
    • Constructor Detail

      • SourceTransformationWrapper

        public SourceTransformationWrapper​(org.apache.flink.api.dag.Transformation<T> input)
    • Method Detail

      • getInput

        public org.apache.flink.api.dag.Transformation<T> getInput()
      • getTransitivePredecessorsInternal

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

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