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 classstatic classRegisters translators for the Redistribute family of transforms. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Redistribute.RedistributeArbitrarily<T> static <K,V> Redistribute.RedistributeByKey <K, V> byKey()
-
Constructor Details
-
Redistribute
public Redistribute()
-
-
Method Details
-
arbitrarily
- Returns:
- a
Redistribute.RedistributeArbitrarilytransform with default configuration.
-
byKey
- Returns:
- a
Redistribute.RedistributeByKeytransform with default configuration.
-