public class PackagedProgramUtils extends Object
PackagedProgram related operations.| Modifier and Type | Method and Description |
|---|---|
static org.apache.flink.runtime.jobgraph.JobGraph |
createJobGraph(PackagedProgram packagedProgram,
org.apache.flink.configuration.Configuration configuration,
int defaultParallelism)
Creates a
JobGraph from the given PackagedProgram. |
public static org.apache.flink.runtime.jobgraph.JobGraph createJobGraph(PackagedProgram packagedProgram, org.apache.flink.configuration.Configuration configuration, int defaultParallelism) throws ProgramInvocationException
JobGraph from the given PackagedProgram.packagedProgram - to extract the JobGraph fromconfiguration - to use for the optimizer and job graph generatordefaultParallelism - for the JobGraphProgramInvocationException - if the JobGraph generation failedCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.