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 does not create a physical operation, it only affects how upstream operations are connected to downstream operations.
| Constructor and 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. |
| Modifier and Type | Method and Description |
|---|---|
StreamExchangeMode |
getExchangeMode()
Returns the
StreamExchangeMode of this PartitionTransformation. |
List<org.apache.flink.api.dag.Transformation<?>> |
getInputs() |
StreamPartitioner<T> |
getPartitioner()
Returns the
StreamPartitioner that must be used for partitioning the elements of the
input Transformation. |
protected List<org.apache.flink.api.dag.Transformation<?>> |
getTransitivePredecessorsInternal() |
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, equals, getBufferTimeout, getCoLocationGroupKey, getDescription, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getTransitivePredecessors, getUid, getUserProvidedNodeHash, hashCode, isParallelismConfigured, setBufferTimeout, setCoLocationGroupKey, setDescription, setMaxParallelism, setName, setOutputType, setParallelism, setParallelism, setResources, setSlotSharingGroup, setSlotSharingGroup, setUid, setUidHash, toString, toStringWithoutId, updateManagedMemoryStateBackendUseCasepublic PartitionTransformation(org.apache.flink.api.dag.Transformation<T> input, StreamPartitioner<T> partitioner)
PartitionTransformation from the given input and StreamPartitioner.input - The input Transformationpartitioner - The StreamPartitionerpublic PartitionTransformation(org.apache.flink.api.dag.Transformation<T> input, StreamPartitioner<T> partitioner, StreamExchangeMode exchangeMode)
PartitionTransformation from the given input and StreamPartitioner.input - The input Transformationpartitioner - The StreamPartitionerexchangeMode - The StreamExchangeModepublic StreamPartitioner<T> getPartitioner()
StreamPartitioner that must be used for partitioning the elements of the
input Transformation.public StreamExchangeMode getExchangeMode()
StreamExchangeMode of this PartitionTransformation.protected List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessorsInternal()
getTransitivePredecessorsInternal in class org.apache.flink.api.dag.Transformation<T>Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.