Package org.apache.beam.sdk.transforms
Class Redistribute
java.lang.Object
org.apache.beam.sdk.transforms.Redistribute
A family of
PTransforms that returns a PCollection equivalent to its
input but functions as an operational hint to a runner that redistributing the data in some way
is likely useful.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNoop transform that hints to the runner to try to redistribute the work evenly, or via whatever clever strategy the runner comes up with.static classA by-key redistribute transform.static classRegisters translators for the Redistribute family of transforms. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Redistribute.RedistributeArbitrarily<T> Returns aRedistribute.RedistributeArbitrarilytransform with default configuration.static <K,V> Redistribute.RedistributeByKey <K, V> byKey()Returns aRedistribute.RedistributeByKeytransform with default configuration.
-
Constructor Details
-
Redistribute
public Redistribute()
-
-
Method Details
-
arbitrarily
Returns aRedistribute.RedistributeArbitrarilytransform with default configuration. -
byKey
Returns aRedistribute.RedistributeByKeytransform with default configuration.
-