Class BeamImpulseSource

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.beam.sdk.transforms.display.HasDisplayData

    public class BeamImpulseSource
    extends org.apache.beam.sdk.io.BoundedSource<byte[]>
    A Beam BoundedSource for Impulse Source.
    See Also:
    Serialized Form
    • 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
      org.apache.beam.sdk.io.BoundedSource.BoundedReader<byte[]> createReader​(org.apache.beam.sdk.options.PipelineOptions options)  
      long getEstimatedSizeBytes​(org.apache.beam.sdk.options.PipelineOptions options)  
      org.apache.beam.sdk.coders.Coder<byte[]> getOutputCoder()  
      java.util.List<? extends org.apache.beam.sdk.io.BoundedSource<byte[]>> split​(long desiredBundleSizeBytes, org.apache.beam.sdk.options.PipelineOptions options)  
      • 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

      • BeamImpulseSource

        public BeamImpulseSource()
    • Method Detail

      • split

        public java.util.List<? extends org.apache.beam.sdk.io.BoundedSource<byte[]>> split​(long desiredBundleSizeBytes,
                                                                                            org.apache.beam.sdk.options.PipelineOptions options)
                                                                                     throws java.lang.Exception
        Specified by:
        split in class org.apache.beam.sdk.io.BoundedSource<byte[]>
        Throws:
        java.lang.Exception
      • 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<byte[]>
        Throws:
        java.lang.Exception
      • createReader

        public org.apache.beam.sdk.io.BoundedSource.BoundedReader<byte[]> createReader​(org.apache.beam.sdk.options.PipelineOptions options)
                                                                                throws java.io.IOException
        Specified by:
        createReader in class org.apache.beam.sdk.io.BoundedSource<byte[]>
        Throws:
        java.io.IOException
      • getOutputCoder

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