Class SparkUnboundedSource


  • public class SparkUnboundedSource
    extends java.lang.Object
    A "composite" InputDStream implementation for UnboundedSources.

    This read is a composite of the following steps:

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SparkUnboundedSource.Metadata
      A metadata holder for an input stream partition.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T,​CheckpointMarkT extends org.apache.beam.sdk.io.UnboundedSource.CheckpointMark>
      UnboundedDataset<T>
      read​(org.apache.spark.streaming.api.java.JavaStreamingContext jssc, org.apache.beam.runners.core.construction.SerializablePipelineOptions rc, org.apache.beam.sdk.io.UnboundedSource<T,​CheckpointMarkT> source, java.lang.String stepName)  
      • Methods inherited from class java.lang.Object

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

      • SparkUnboundedSource

        public SparkUnboundedSource()
    • Method Detail

      • read

        public static <T,​CheckpointMarkT extends org.apache.beam.sdk.io.UnboundedSource.CheckpointMark> UnboundedDataset<T> read​(org.apache.spark.streaming.api.java.JavaStreamingContext jssc,
                                                                                                                                       org.apache.beam.runners.core.construction.SerializablePipelineOptions rc,
                                                                                                                                       org.apache.beam.sdk.io.UnboundedSource<T,​CheckpointMarkT> source,
                                                                                                                                       java.lang.String stepName)