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.
| 构造器和说明 |
|---|
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,
ShuffleMode shuffleMode)
Creates a new
PartitionTransformation from the given input and
StreamPartitioner. |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.api.dag.Transformation<T> |
getInput()
Returns the input
Transformation of this SinkTransformation. |
StreamPartitioner<T> |
getPartitioner()
Returns the
StreamPartitioner that must be used for partitioning the elements
of the input Transformation. |
ShuffleMode |
getShuffleMode()
Returns the
ShuffleMode of this PartitionTransformation. |
Collection<org.apache.flink.api.dag.Transformation<?>> |
getTransitivePredecessors() |
equals, getBufferTimeout, getCoLocationGroupKey, getId, getManagedMemoryWeight, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getUid, getUserProvidedNodeHash, hashCode, setBufferTimeout, setCoLocationGroupKey, setManagedMemoryWeight, setMaxParallelism, setName, setOutputType, setParallelism, setResources, setSlotSharingGroup, setUid, setUidHash, toStringpublic 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, ShuffleMode shuffleMode)
PartitionTransformation from the given input and
StreamPartitioner.input - The input Transformationpartitioner - The StreamPartitionershuffleMode - The ShuffleModepublic org.apache.flink.api.dag.Transformation<T> getInput()
Transformation of this SinkTransformation.public StreamPartitioner<T> getPartitioner()
StreamPartitioner that must be used for partitioning the elements
of the input Transformation.public ShuffleMode getShuffleMode()
ShuffleMode of this PartitionTransformation.public Collection<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessors()
getTransitivePredecessors 在类中 org.apache.flink.api.dag.Transformation<T>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.