/** * Returns a new {@code Read.Bounded} {@code PTransform} reading from the given {@code * BoundedSource}. */ public <T> Bounded<T> from(BoundedSource<T> source) { return new Bounded<>(name, source); }
/** * Returns a new {@code Read.Bounded} {@code PTransform} reading from the given {@code * BoundedSource}. */ public static <T> Bounded<T> from(BoundedSource<T> source) { return new Bounded<>(null, source); }