Package org.apache.beam.fn.harness
Class SplittablePairWithRestrictionDoFnRunner<InputT,RestrictionT,WatermarkEstimatorStateT,OutputT>
- java.lang.Object
-
- org.apache.beam.fn.harness.SplittablePairWithRestrictionDoFnRunner<InputT,RestrictionT,WatermarkEstimatorStateT,OutputT>
-
- All Implemented Interfaces:
FnApiStateAccessor.MutatingStateContext<java.lang.Void,org.apache.beam.sdk.transforms.windowing.BoundedWindow>
public class SplittablePairWithRestrictionDoFnRunner<InputT,RestrictionT,WatermarkEstimatorStateT,OutputT> extends java.lang.Object implements FnApiStateAccessor.MutatingStateContext<java.lang.Void,org.apache.beam.sdk.transforms.windowing.BoundedWindow>
A runner for the PTransform step that invokes GetInitialRestriction and pairs it with the incoming element.The DoFn will have type DoFn
but this transform's Fn API type is from WindowedValue<InputT>toWindowedValue<KV<InputT, KV<RestrictionT, WatermarkEstimatorStateT>>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSplittablePairWithRestrictionDoFnRunner.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>
-
getCurrentWindow
public org.apache.beam.sdk.transforms.windowing.BoundedWindow getCurrentWindow()
- Specified by:
getCurrentWindowin interfaceFnApiStateAccessor.MutatingStateContext<InputT,RestrictionT>
-
-