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