Package org.apache.beam.fn.harness
Class FnApiDoFnRunner<InputT,RestrictionT,PositionT,WatermarkEstimatorStateT,OutputT>
- java.lang.Object
-
- org.apache.beam.fn.harness.FnApiDoFnRunner<InputT,RestrictionT,PositionT,WatermarkEstimatorStateT,OutputT>
-
- All Implemented Interfaces:
FnApiStateAccessor.MutatingStateContext<java.lang.Object,org.apache.beam.sdk.transforms.windowing.BoundedWindow>
@Internal public class FnApiDoFnRunner<InputT,RestrictionT,PositionT,WatermarkEstimatorStateT,OutputT> extends java.lang.Object implements FnApiStateAccessor.MutatingStateContext<java.lang.Object,org.apache.beam.sdk.transforms.windowing.BoundedWindow>
ADoFnRunnerspecific to integrating with the Fn Api. This is to remove the layers of abstraction caused by StateInternals/TimerInternals since they model state and timer concepts differently.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFnApiDoFnRunner.RegistrarA registrar which provides a factory to handle JavaDoFns.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetCurrentKey()org.apache.beam.sdk.transforms.windowing.BoundedWindowgetCurrentWindow()
-
-
-
Method Detail
-
getCurrentKey
public java.lang.Object 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>
-
-