public static class FlinkStreamingPortablePipelineTranslator.StreamingTranslationContext extends java.lang.Object implements FlinkPortablePipelineTranslator.TranslationContext
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) |
<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.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)