Uses of Class
org.apache.flink.api.common.JobID
-
-
Uses of JobID in org.apache.flink.api.common
Methods in org.apache.flink.api.common that return JobID Modifier and Type Method Description static JobIDJobID. fromByteArray(byte[] bytes)Creates a new JobID from the given byte sequence.static JobIDJobID. fromByteBuffer(ByteBuffer buf)static JobIDJobID. fromHexString(String hexString)Parses a JobID from the given string.static JobIDJobID. generate()Creates a new (statistically) random JobID.JobIDJobInfo. getJobId()Get the ID of the job.JobIDJobInfoImpl. getJobId()JobIDPlan. getJobId()Gets the ID of the job that the dataflow plan belongs to.JobIDJobSubmissionResult. getJobID()Returns the JobID assigned to the job by the Flink runtime.Methods in org.apache.flink.api.common with parameters of type JobID Modifier and Type Method Description voidPlan. setJobId(JobID jobId)Sets the ID of the job that the dataflow plan belongs to.Constructors in org.apache.flink.api.common with parameters of type JobID Constructor Description JobExecutionResult(JobID jobID, long netRuntime, Map<String,OptionalFailure<Object>> accumulators)Creates a new JobExecutionResult.JobInfoImpl(JobID jobID, String jobName)JobSubmissionResult(JobID jobID) -
Uses of JobID in org.apache.flink.api.common.functions
Methods in org.apache.flink.api.common.functions that return JobID Modifier and Type Method Description default JobIDRuntimeContext. getJobId()Deprecated.This method is deprecated since Flink 1.19. -
Uses of JobID in org.apache.flink.api.connector.sink2
Methods in org.apache.flink.api.connector.sink2 that return JobID Modifier and Type Method Description default JobIDInitContext. getJobId()Deprecated.This method is deprecated since Flink 1.19.JobIDSink.InitContextWrapper. getJobId()Deprecated. -
Uses of JobID in org.apache.flink.core.execution
Methods in org.apache.flink.core.execution that return JobID Modifier and Type Method Description JobIDDetachedJobExecutionResult. getJobID()JobIDJobClient. getJobID()Returns theJobIDthat uniquely identifies the job this client is scoped to.Methods in org.apache.flink.core.execution with parameters of type JobID Modifier and Type Method Description voidJobStatusHook. onCanceled(JobID jobId)When job get canceled by users.voidJobStatusHook. onCreated(JobID jobId)When Job becomesJobStatus.CREATEDstatus, it would only be called one time.voidJobStatusHook. onFailed(JobID jobId, Throwable throwable)When job failed finally.voidJobStatusHook. onFinished(JobID jobId)When job finished successfully.Constructors in org.apache.flink.core.execution with parameters of type JobID Constructor Description DetachedJobExecutionResult(JobID jobID) -
Uses of JobID in org.apache.flink.core.failure
Methods in org.apache.flink.core.failure that return JobID Modifier and Type Method Description default JobIDFailureEnricher.Context. getJobId()Deprecated.This method is deprecated since Flink 1.19. -
Uses of JobID in org.apache.flink.util
Methods in org.apache.flink.util with parameters of type JobID Modifier and Type Method Description static Map<String,String>MdcUtils. asContextData(JobID jobID)static ExecutorMdcUtils. scopeToJob(JobID jobID, Executor executor)static ExecutorServiceMdcUtils. scopeToJob(JobID jobID, ExecutorService delegate)Wrap the givenExecutorServiceso that the givenJobIDis added before it executes any submitted commands and removed afterward.static ScheduledExecutorServiceMdcUtils. scopeToJob(JobID jobID, ScheduledExecutorService ses)Wrap the givenScheduledExecutorServiceso that the givenJobIDis added before it executes any submitted commands and removed afterward.
-