Package org.apache.beam.fn.harness
Class SplittableSplitAndSizeRestrictionsDoFnRunner<InputT,RestrictionT extends @NonNull java.lang.Object,PositionT,WatermarkEstimatorStateT,OutputT>
- java.lang.Object
-
- org.apache.beam.fn.harness.SplittableSplitAndSizeRestrictionsDoFnRunner<InputT,RestrictionT,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, outputtingThis 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSplittableSplitAndSizeRestrictionsDoFnRunner.RegistrarA registrar which provides a factory to handle JavaDoFns.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.VoidgetCurrentKey()org.apache.beam.sdk.transforms.windowing.BoundedWindowgetCurrentWindow()
-
-
-
Method Detail
-
getCurrentKey
public java.lang.Void getCurrentKey()
- Specified by:
getCurrentKeyin interfaceFnApiStateAccessor.MutatingStateContext<InputT,RestrictionT extends @NonNull java.lang.Object>
-
getCurrentWindow
public org.apache.beam.sdk.transforms.windowing.BoundedWindow getCurrentWindow()
- Specified by:
getCurrentWindowin interfaceFnApiStateAccessor.MutatingStateContext<InputT,RestrictionT extends @NonNull java.lang.Object>
-
-