Class JobGraphBuilder
java.lang.Object
org.apache.flink.runtime.jobgraph.JobGraphBuilder
Builder for the
JobGraph.-
Method Summary
Modifier and TypeMethodDescriptionaddClasspaths(Collection<URL> additionalClasspaths) addJobVertex(JobVertex jobVertex) addJobVertices(Collection<? extends JobVertex> jobVerticesToAdd) addUserArtifacts(Map<String, org.apache.flink.api.common.cache.DistributedCache.DistributedCacheEntry> newUserArtifacts) build()static JobGraphBuilderstatic JobGraphBuildersetExecutionConfig(org.apache.flink.api.common.ExecutionConfig newExecutionConfig) setJobCheckpointingSettings(JobCheckpointingSettings newJobCheckpointingSettings) setJobConfiguration(org.apache.flink.configuration.Configuration jobConfiguration) setJobId(org.apache.flink.api.common.JobID jobId) setJobName(String jobName) setSavepointRestoreSettings(SavepointRestoreSettings newSavepointRestoreSettings)
-
Method Details
-
setJobName
-
addJobVertices
-
addJobVertex
-
setJobId
-
setExecutionConfig
public JobGraphBuilder setExecutionConfig(org.apache.flink.api.common.ExecutionConfig newExecutionConfig) throws IOException - Throws:
IOException
-
addUserArtifacts
public JobGraphBuilder addUserArtifacts(Map<String, org.apache.flink.api.common.cache.DistributedCache.DistributedCacheEntry> newUserArtifacts) -
setJobCheckpointingSettings
public JobGraphBuilder setJobCheckpointingSettings(JobCheckpointingSettings newJobCheckpointingSettings) -
setSavepointRestoreSettings
public JobGraphBuilder setSavepointRestoreSettings(SavepointRestoreSettings newSavepointRestoreSettings) -
addClasspaths
-
setJobConfiguration
public JobGraphBuilder setJobConfiguration(org.apache.flink.configuration.Configuration jobConfiguration) -
build
-
newStreamingJobGraphBuilder
-
newBatchJobGraphBuilder
-