public class PackagedProgramUtils extends Object
PackagedProgram
related operations.Modifier and Type | Method and Description |
---|---|
static JobGraph |
createJobGraph(PackagedProgram packagedProgram,
Configuration configuration,
int defaultParallelism)
Creates a
JobGraph from the given PackagedProgram . |
public static JobGraph createJobGraph(PackagedProgram packagedProgram, 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–2019 The Apache Software Foundation. All rights reserved.