public static class FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext extends java.lang.Object implements FlinkPortablePipelineTranslator.TranslationContext, FlinkPortablePipelineTranslator.Executor
StreamExecutionEnvironment
that the execution plan will be applied to.Modifier and Type | Method and Description |
---|---|
<T> void |
addDataStream(java.lang.String pCollectionId,
org.apache.flink.streaming.api.datastream.DataStream<T> dataStream) |
org.apache.flink.api.common.JobExecutionResult |
execute(java.lang.String jobName) |
<T> org.apache.flink.streaming.api.datastream.DataStream<T> |
getDataStreamOrThrow(java.lang.String pCollectionId) |
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment |
getExecutionEnvironment() |
JobInfo |
getJobInfo() |
FlinkPipelineOptions |
getPipelineOptions() |
public JobInfo getJobInfo()
getJobInfo
in interface FlinkPortablePipelineTranslator.TranslationContext
public FlinkPipelineOptions getPipelineOptions()
getPipelineOptions
in interface FlinkPortablePipelineTranslator.TranslationContext
public org.apache.flink.api.common.JobExecutionResult execute(java.lang.String jobName) throws java.lang.Exception
execute
in interface FlinkPortablePipelineTranslator.Executor
java.lang.Exception
public org.apache.flink.streaming.api.environment.StreamExecutionEnvironment getExecutionEnvironment()
public <T> void addDataStream(java.lang.String pCollectionId, org.apache.flink.streaming.api.datastream.DataStream<T> dataStream)
public <T> org.apache.flink.streaming.api.datastream.DataStream<T> getDataStreamOrThrow(java.lang.String pCollectionId)