Interface SparkPortablePipelineTranslator<T extends SparkTranslationContext>
- All Known Implementing Classes:
SparkBatchPortablePipelineTranslator
,SparkStreamingPortablePipelineTranslator
public interface SparkPortablePipelineTranslator<T extends SparkTranslationContext>
Interface for portable Spark translators. This allows for a uniform invocation pattern for
pipeline translation between streaming and batch runners.
-
Method Summary
Modifier and TypeMethodDescriptioncreateTranslationContext
(org.apache.spark.api.java.JavaSparkContext jsc, SparkPipelineOptions options, JobInfo jobInfo) void
Translates the given pipeline.
-
Method Details
-
knownUrns
-
translate
Translates the given pipeline. -
createTranslationContext
T createTranslationContext(org.apache.spark.api.java.JavaSparkContext jsc, SparkPipelineOptions options, JobInfo jobInfo)
-