Read (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

com.google.cloud.dataflow.sdk.io

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"))
                 .named("foobar"));
     
    • 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.


이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.