Read (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

Class Read

  • public class Read
    extends Object
    A PTransform for reading from a Source.

    Usage example:

     Pipeline p = Pipeline.create();
     p.apply(Read.from(new MySource().withFoo("foo").withBar("bar"))

    • Constructor Detail

      • Read

        public Read()
    • Method Detail

      • named

        public static Read.Builder named(String name)
        Returns a new Read PTransform builder with the given name.
      • from

        public static <T> Read.Bounded<T> from(BoundedSource<T> source)
        Returns a new Read.Bounded PTransform reading from the given BoundedSource.
      • from

        public static <T> Read.Unbounded<T> from(UnboundedSource<T,?> source)
        Returns a new Read.Unbounded PTransform reading from the given UnboundedSource.