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,
StreamExchangeMode exchangeMode)
Creates a new
PartitionTransformation from the given input and StreamPartitioner. |
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
List<org.apache.flink.api.dag.Transformation<?>> |
getTransitivePredecessors() |
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, equals, getBufferTimeout, getCoLocationGroupKey, getDescription, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getUid, getUserProvidedNodeHash, hashCode, setBufferTimeout, setCoLocationGroupKey, setDescription, setMaxParallelism, setName, setOutputType, setParallelism, setResources, setSlotSharingGroup, setSlotSharingGroup, setUid, setUidHash, toString, 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.public List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessors()
getTransitivePredecessors 在类中 org.apache.flink.api.dag.Transformation<T>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.