Class SplittableSplitAndSizeRestrictionsDoFnRunner<InputT,​RestrictionT extends @NonNull java.lang.Object,​PositionT,​WatermarkEstimatorStateT,​OutputT>

  • All Implemented Interfaces:
    FnApiStateAccessor.MutatingStateContext<java.lang.Void,​org.apache.beam.sdk.transforms.windowing.BoundedWindow>

    @Internal
    public class SplittableSplitAndSizeRestrictionsDoFnRunner<InputT,​RestrictionT extends @NonNull java.lang.Object,​PositionT,​WatermarkEstimatorStateT,​OutputT>
    extends java.lang.Object
    implements FnApiStateAccessor.MutatingStateContext<java.lang.Void,​org.apache.beam.sdk.transforms.windowing.BoundedWindow>
    A runner for the PTransform that takes restrictions and splits them, outputting

    This is meant to consume the output of SplittablePairWithRestrictionDoFnRunner.

    The DoFn will have type DoFn but this transform's Fn API input and output types are:

    • Input: WindowedValue<KV<InputT, KV<RestrictionT, WatermarkEstimatorStateT>>>
    • Output: WindowedValue<KV<KV<InputT, KV<RestrictionT, WatermarkEstimatorStateT>>, Double>>

    In addition to this, it passes to the DoFn GetRestriction method.