Class CustomSources


  • public class CustomSources
    extends java.lang.Object
    A helper class for supporting sources defined as Source.

    Provides a bridge between the high-level Source API and the low-level CloudSource class.

    • Constructor Summary

      Constructors 
      Constructor Description
      CustomSources()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.api.services.dataflow.model.Source serializeToCloudSource​(org.apache.beam.sdk.io.Source<?> source, org.apache.beam.sdk.options.PipelineOptions options)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomSources

        public CustomSources()
    • Method Detail

      • serializeToCloudSource

        public static com.google.api.services.dataflow.model.Source serializeToCloudSource​(org.apache.beam.sdk.io.Source<?> source,
                                                                                           org.apache.beam.sdk.options.PipelineOptions options)
                                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception