Package org.apache.beam.fn.harness
Class SplittableTruncateSizedRestrictionsDoFnRunner<InputT,RestrictionT extends @NonNull java.lang.Object,PositionT,WatermarkEstimatorStateT,OutputT>
- java.lang.Object
-
- org.apache.beam.fn.harness.SplittableTruncateSizedRestrictionsDoFnRunner<InputT,RestrictionT,PositionT,WatermarkEstimatorStateT,OutputT>
-
- All Implemented Interfaces:
FnApiStateAccessor.MutatingStateContext<java.lang.Void,org.apache.beam.sdk.transforms.windowing.BoundedWindow>
public class SplittableTruncateSizedRestrictionsDoFnRunner<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 truncates sized restrictions, for the case of draining a pipeline.The input and output types for this transform are
WindowedValue<KV<KV<InputT, KV<RestrictionT, WatermarkEstimatorStateT>>, Double>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSplittableTruncateSizedRestrictionsDoFnRunner.RegistrarA registrar which provides a factory to handle JavaDoFns.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.values.WindowedValue<InputT>getCurrentElement()java.lang.VoidgetCurrentKey()org.apache.beam.sdk.transforms.windowing.BoundedWindowgetCurrentWindow()java.util.List<org.apache.beam.sdk.transforms.windowing.BoundedWindow>getCurrentWindows()
-
-
-
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>
-
getCurrentWindows
public java.util.List<org.apache.beam.sdk.transforms.windowing.BoundedWindow> getCurrentWindows()
-
getCurrentElement
public org.apache.beam.sdk.values.WindowedValue<InputT> getCurrentElement()
-
-