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 class
Noop transform that hints to the runner to try to redistribute the work evenly, or via whatever clever strategy the runner comes up with.static class
static class
Registers 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.RedistributeArbitrarily
transform with default configuration.
-
byKey
- Returns:
- a
Redistribute.RedistributeByKey
transform with default configuration.
-