Class SparkStreamingTranslationContext


  • public class SparkStreamingTranslationContext
    extends SparkTranslationContext
    Translation context used to lazily store Spark datasets during streaming portable pipeline translation and compute them after translation.
    • Constructor Detail

      • SparkStreamingTranslationContext

        public SparkStreamingTranslationContext​(org.apache.spark.api.java.JavaSparkContext jsc,
                                                SparkPipelineOptions options,
                                                org.apache.beam.runners.fnexecution.provisioning.JobInfo jobInfo)
    • Method Detail

      • getStreamingContext

        public org.apache.spark.streaming.api.java.JavaStreamingContext getStreamingContext()
      • getFirstTimestamp

        public org.joda.time.Instant getFirstTimestamp()