Class SparkStreamingTranslationContext
- java.lang.Object
-
- org.apache.beam.runners.spark.translation.SparkTranslationContext
-
- org.apache.beam.runners.spark.translation.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 Summary
Constructors Constructor Description SparkStreamingTranslationContext(org.apache.spark.api.java.JavaSparkContext jsc, SparkPipelineOptions options, org.apache.beam.runners.fnexecution.provisioning.JobInfo jobInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.InstantgetFirstTimestamp()org.apache.spark.streaming.api.java.JavaStreamingContextgetStreamingContext()-
Methods inherited from class org.apache.beam.runners.spark.translation.SparkTranslationContext
computeOutputs, getSerializableOptions, getSparkContext, nextSinkId, popDataset, pushDataset
-
-
-
-
Constructor Detail
-
SparkStreamingTranslationContext
public SparkStreamingTranslationContext(org.apache.spark.api.java.JavaSparkContext jsc, SparkPipelineOptions options, org.apache.beam.runners.fnexecution.provisioning.JobInfo jobInfo)
-
-