Package org.apache.beam.runners.flink
Class FlinkPipelineRunner
- java.lang.Object
-
- org.apache.beam.runners.flink.FlinkPipelineRunner
-
- All Implemented Interfaces:
org.apache.beam.runners.jobsubmission.PortablePipelineRunner
public class FlinkPipelineRunner extends java.lang.Object implements org.apache.beam.runners.jobsubmission.PortablePipelineRunnerRuns a Pipeline on Flink viaFlinkRunner.
-
-
Constructor Summary
Constructors Constructor Description FlinkPipelineRunner(FlinkPipelineOptions pipelineOptions, @Nullable java.lang.String confDir, java.util.List<java.lang.String> filesToStage)Setup a flink pipeline runner.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Main method to be called only as the entry point to an executable jar with structure as defined inPortablePipelineJarUtils.org.apache.beam.runners.jobsubmission.PortablePipelineResultrun(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline, org.apache.beam.runners.fnexecution.provisioning.JobInfo jobInfo)
-
-
-
Constructor Detail
-
FlinkPipelineRunner
public FlinkPipelineRunner(FlinkPipelineOptions pipelineOptions, @Nullable java.lang.String confDir, java.util.List<java.lang.String> filesToStage)
Setup a flink pipeline runner.- Parameters:
pipelineOptions- pipeline options configuring the flink pipeline runner.confDir- flink configuration directory. Note that pipeline option's flinkConfDir, If not null, takes precedence against this parameter.filesToStage- a list of file names to stage.
-
-
Method Detail
-
run
public org.apache.beam.runners.jobsubmission.PortablePipelineResult run(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline, org.apache.beam.runners.fnexecution.provisioning.JobInfo jobInfo) throws java.lang.Exception- Specified by:
runin interfaceorg.apache.beam.runners.jobsubmission.PortablePipelineRunner- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionMain method to be called only as the entry point to an executable jar with structure as defined inPortablePipelineJarUtils.- Throws:
java.lang.Exception
-
-