Annotation Interface DoFn.Restriction

Enclosing class:
DoFn<InputT extends @Nullable Object,OutputT extends @Nullable Object>

@Documented @Retention(RUNTIME) @Target(PARAMETER) public static @interface DoFn.Restriction
Parameter annotation for the restriction for DoFn.GetSize, DoFn.SplitRestriction, DoFn.GetInitialWatermarkEstimatorState, DoFn.NewWatermarkEstimator, and DoFn.NewTracker methods. Must match the return type used on the method annotated with DoFn.GetInitialRestriction.