public class DeduplicatedFlattenFactory<T> extends Object implements PTransformOverrideFactory<PCollectionList<T>,PCollection<T>,Flatten.PCollections<T>>
PTransformOverrideFactory that will apply a flatten where no element appears in the
input PCollectionList more than once.PTransformOverrideFactory.PTransformReplacement<InputT extends PInput,OutputT extends POutput>, PTransformOverrideFactory.ReplacementOutput| Modifier and Type | Method and Description |
|---|---|
static <T> DeduplicatedFlattenFactory<T> |
create() |
PTransformOverrideFactory.PTransformReplacement<PCollectionList<T>,PCollection<T>> |
getReplacementTransform(AppliedPTransform<PCollectionList<T>,PCollection<T>,Flatten.PCollections<T>> transform) |
Map<PValue,PTransformOverrideFactory.ReplacementOutput> |
mapOutputs(Map<TupleTag<?>,PValue> outputs,
PCollection<T> newOutput) |
public static <T> DeduplicatedFlattenFactory<T> create()
public PTransformOverrideFactory.PTransformReplacement<PCollectionList<T>,PCollection<T>> getReplacementTransform(AppliedPTransform<PCollectionList<T>,PCollection<T>,Flatten.PCollections<T>> transform)
getReplacementTransform in interface PTransformOverrideFactory<PCollectionList<T>,PCollection<T>,Flatten.PCollections<T>>public Map<PValue,PTransformOverrideFactory.ReplacementOutput> mapOutputs(Map<TupleTag<?>,PValue> outputs, PCollection<T> newOutput)
mapOutputs in interface PTransformOverrideFactory<PCollectionList<T>,PCollection<T>,Flatten.PCollections<T>>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.