Class PartitionTransformation<T>

java.lang.Object
org.apache.flink.api.dag.Transformation<T>
org.apache.flink.streaming.api.transformations.PartitionTransformation<T>
Type Parameters:
T - The type of the elements that result from this PartitionTransformation

@Internal public class PartitionTransformation<T> extends org.apache.flink.api.dag.Transformation<T>
This transformation represents a change of partitioning of the input elements.

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
    PartitionTransformation(org.apache.flink.api.dag.Transformation<T> input, StreamPartitioner<T> partitioner)
    Creates a new PartitionTransformation from the given input and StreamPartitioner.
    PartitionTransformation(org.apache.flink.api.dag.Transformation<T> input, StreamPartitioner<T> partitioner, StreamExchangeMode exchangeMode)
    Creates a new PartitionTransformation from the given input and StreamPartitioner.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.flink.api.dag.Transformation<?>>
     
    Returns the StreamPartitioner that must be used for partitioning the elements of the input Transformation.
    protected List<org.apache.flink.api.dag.Transformation<?>>
     

    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