Class SparkUnboundedSource

java.lang.Object
org.apache.beam.runners.spark.io.SparkUnboundedSource

public class SparkUnboundedSource extends 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 
    A metadata holder for an input stream partition.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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, String stepName)
     

    Methods inherited from class java.lang.Object

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

    • SparkUnboundedSource

      public SparkUnboundedSource()
  • Method Details

    • 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, String stepName)