public static class FlinkBatchPortablePipelineTranslator.BatchTranslationContext extends java.lang.Object implements FlinkPortablePipelineTranslator.TranslationContext, FlinkPortablePipelineTranslator.Executor
ExecutionEnvironment
that the execution plan will be applied to.Modifier and Type | Method and Description |
---|---|
<T> void |
addDataSet(java.lang.String pCollectionId,
org.apache.flink.api.java.DataSet<T> dataSet) |
org.apache.flink.api.common.JobExecutionResult |
execute(java.lang.String jobName) |
java.util.Collection<org.apache.flink.api.java.DataSet<?>> |
getDanglingDataSets() |
<T> org.apache.flink.api.java.DataSet<T> |
getDataSetOrThrow(java.lang.String pCollectionId) |
org.apache.flink.api.java.ExecutionEnvironment |
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.api.java.ExecutionEnvironment getExecutionEnvironment()
public <T> void addDataSet(java.lang.String pCollectionId, org.apache.flink.api.java.DataSet<T> dataSet)
public <T> org.apache.flink.api.java.DataSet<T> getDataSetOrThrow(java.lang.String pCollectionId)
public java.util.Collection<org.apache.flink.api.java.DataSet<?>> getDanglingDataSets()