public class ClassPathJobGraphRetriever extends Object implements JobGraphRetriever
JobGraphRetriever
which creates the JobGraph
from a class
on the class path.Modifier and Type | Field and Description |
---|---|
static JobID |
FIXED_JOB_ID |
Constructor and Description |
---|
ClassPathJobGraphRetriever(String jobClassName,
SavepointRestoreSettings savepointRestoreSettings,
String[] programArguments) |
Modifier and Type | Method and Description |
---|---|
JobGraph |
retrieveJobGraph(Configuration configuration)
Retrieve the
JobGraph . |
public static final JobID FIXED_JOB_ID
public JobGraph retrieveJobGraph(Configuration configuration) throws FlinkException
JobGraphRetriever
JobGraph
.retrieveJobGraph
in interface JobGraphRetriever
configuration
- cluster configurationJobGraph
.FlinkException
- if the JobGraph
could not be retrievedCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.