Class AbstractDirectBoundedSource

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.beam.sdk.transforms.display.HasDisplayData
    Direct Known Subclasses:
    DirectBatchSource, DirectBoundedSource

    abstract class AbstractDirectBoundedSource
    extends org.apache.beam.sdk.io.BoundedSource<StreamElement>
    Abstract super class for bounded sources.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.beam.sdk.io.BoundedSource

        org.apache.beam.sdk.io.BoundedSource.BoundedReader<T extends java.lang.Object>
      • Nested classes/interfaces inherited from class org.apache.beam.sdk.io.Source

        org.apache.beam.sdk.io.Source.Reader<T extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getEstimatedSizeBytes​(org.apache.beam.sdk.options.PipelineOptions options)  
      org.apache.beam.sdk.coders.Coder<StreamElement> getOutputCoder()  
      • Methods inherited from class org.apache.beam.sdk.io.BoundedSource

        createReader, split
      • Methods inherited from class org.apache.beam.sdk.io.Source

        getDefaultOutputCoder, populateDisplayData, validate
      • Methods inherited from class java.lang.Object

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

      • AbstractDirectBoundedSource

        AbstractDirectBoundedSource​(RepositoryFactory factory)
    • Method Detail

      • getEstimatedSizeBytes

        public long getEstimatedSizeBytes​(org.apache.beam.sdk.options.PipelineOptions options)
                                   throws java.lang.Exception
        Specified by:
        getEstimatedSizeBytes in class org.apache.beam.sdk.io.BoundedSource<StreamElement>
        Throws:
        java.lang.Exception
      • getOutputCoder

        public org.apache.beam.sdk.coders.Coder<StreamElement> getOutputCoder()
        Overrides:
        getOutputCoder in class org.apache.beam.sdk.io.Source<StreamElement>