public static class SplittableParDoNaiveBounded.OverrideFactory<InputT,OutputT,RestrictionT,WatermarkEstimatorStateT> extends java.lang.Object implements PTransformOverrideFactory<PCollection<KV<byte[],KV<InputT,RestrictionT>>>,PCollectionTuple,SplittableParDo.ProcessKeyedElements<InputT,OutputT,RestrictionT,WatermarkEstimatorStateT>>
SplittableParDo.ProcessKeyedElements
into SplittableProcessNaive
.PTransformOverrideFactory.PTransformReplacement<InputT extends PInput,OutputT extends POutput>, PTransformOverrideFactory.ReplacementOutput
Constructor and Description |
---|
OverrideFactory() |
Modifier and Type | Method and Description |
---|---|
PTransformOverrideFactory.PTransformReplacement<PCollection<KV<byte[],KV<InputT,RestrictionT>>>,PCollectionTuple> |
getReplacementTransform(AppliedPTransform<PCollection<KV<byte[],KV<InputT,RestrictionT>>>,PCollectionTuple,SplittableParDo.ProcessKeyedElements<InputT,OutputT,RestrictionT,WatermarkEstimatorStateT>> transform)
Returns a
PTransform that produces equivalent output to the provided transform . |
java.util.Map<PCollection<?>,PTransformOverrideFactory.ReplacementOutput> |
mapOutputs(java.util.Map<TupleTag<?>,PCollection<?>> outputs,
PCollectionTuple newOutput)
Returns a
Map from the expanded values in newOutput to the values produced by
the original transform. |
public PTransformOverrideFactory.PTransformReplacement<PCollection<KV<byte[],KV<InputT,RestrictionT>>>,PCollectionTuple> getReplacementTransform(AppliedPTransform<PCollection<KV<byte[],KV<InputT,RestrictionT>>>,PCollectionTuple,SplittableParDo.ProcessKeyedElements<InputT,OutputT,RestrictionT,WatermarkEstimatorStateT>> transform)
PTransformOverrideFactory
PTransform
that produces equivalent output to the provided transform
.getReplacementTransform
in interface PTransformOverrideFactory<PCollection<KV<byte[],KV<InputT,RestrictionT>>>,PCollectionTuple,SplittableParDo.ProcessKeyedElements<InputT,OutputT,RestrictionT,WatermarkEstimatorStateT>>
public java.util.Map<PCollection<?>,PTransformOverrideFactory.ReplacementOutput> mapOutputs(java.util.Map<TupleTag<?>,PCollection<?>> outputs, PCollectionTuple newOutput)
PTransformOverrideFactory
Map
from the expanded values in newOutput
to the values produced by
the original transform.mapOutputs
in interface PTransformOverrideFactory<PCollection<KV<byte[],KV<InputT,RestrictionT>>>,PCollectionTuple,SplittableParDo.ProcessKeyedElements<InputT,OutputT,RestrictionT,WatermarkEstimatorStateT>>