public class FlinkStreamingPortablePipelineTranslator extends java.lang.Object implements FlinkPortablePipelineTranslator<FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext>
Modifier and Type | Class and Description |
---|---|
static class |
FlinkStreamingPortablePipelineTranslator.IsFlinkNativeTransform
Predicate to determine whether a URN is a Flink native transform.
|
static interface |
FlinkStreamingPortablePipelineTranslator.PTransformTranslator<T> |
static class |
FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext
Streaming translation context.
|
FlinkPortablePipelineTranslator.Executor, FlinkPortablePipelineTranslator.TranslationContext
Constructor and Description |
---|
FlinkStreamingPortablePipelineTranslator() |
FlinkStreamingPortablePipelineTranslator(java.util.Map<java.lang.String,FlinkStreamingPortablePipelineTranslator.PTransformTranslator<FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext>> extraTranslations) |
Modifier and Type | Method and Description |
---|---|
FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext |
createTranslationContext(JobInfo jobInfo,
FlinkPipelineOptions pipelineOptions,
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment)
Creates a streaming translation context.
|
FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext |
createTranslationContext(JobInfo jobInfo,
FlinkPipelineOptions pipelineOptions,
java.lang.String confDir,
java.util.List<java.lang.String> filesToStage)
Creates a streaming translation context.
|
java.util.Set<java.lang.String> |
knownUrns() |
FlinkPortablePipelineTranslator.Executor |
translate(FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext context,
org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline)
Translates the given pipeline.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepareForTranslation
public FlinkStreamingPortablePipelineTranslator()
public FlinkStreamingPortablePipelineTranslator(java.util.Map<java.lang.String,FlinkStreamingPortablePipelineTranslator.PTransformTranslator<FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext>> extraTranslations)
public FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext createTranslationContext(JobInfo jobInfo, FlinkPipelineOptions pipelineOptions, java.lang.String confDir, java.util.List<java.lang.String> filesToStage)
StreamExecutionEnvironment
.public FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext createTranslationContext(JobInfo jobInfo, FlinkPipelineOptions pipelineOptions, org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment)
StreamExecutionEnvironment
.public java.util.Set<java.lang.String> knownUrns()
knownUrns
in interface FlinkPortablePipelineTranslator<FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext>
public FlinkPortablePipelineTranslator.Executor translate(FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext context, org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline)
FlinkPortablePipelineTranslator
translate
in interface FlinkPortablePipelineTranslator<FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext>