public class Redistribute
extends java.lang.Object
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.Modifier and Type | Class and Description |
---|---|
static class |
Redistribute.RedistributeArbitrarily<T>
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 |
Redistribute.RedistributeByKey<K,V> |
static class |
Redistribute.Registrar
Registers translators for the Redistribute family of transforms.
|
Constructor and Description |
---|
Redistribute() |
Modifier and Type | Method and Description |
---|---|
static <T> Redistribute.RedistributeArbitrarily<T> |
arbitrarily() |
static <K,V> Redistribute.RedistributeByKey<K,V> |
byKey() |
public static <T> Redistribute.RedistributeArbitrarily<T> arbitrarily()
Redistribute.RedistributeArbitrarily
transform with default configuration.public static <K,V> Redistribute.RedistributeByKey<K,V> byKey()
Redistribute.RedistributeByKey
transform with default configuration.