Class UnionTransformation<T>

  • Type Parameters:
    T - The type of the elements that result from this UnionTransformation

    @Internal
    public class UnionTransformation<T>
    extends org.apache.flink.api.dag.Transformation<T>
    This transformation represents a union of several input Transformations.

    This does not create a physical operation, it only affects how upstream operations are connected to downstream operations.

    • 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
      UnionTransformation​(List<org.apache.flink.api.dag.Transformation<T>> inputs)
      Creates a new UnionTransformation from the given input Transformations.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • UnionTransformation

        public UnionTransformation​(List<org.apache.flink.api.dag.Transformation<T>> inputs)
        Creates a new UnionTransformation from the given input Transformations.

        The input Transformations must all have the same type.

        Parameters:
        inputs - The list of input Transformations
    • Method Detail

      • getInputs

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

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