public class LocalRunningJob extends Object implements RunningJob
| Constructor and Description |
|---|
LocalRunningJob(String jobId,
JobStatus state,
com.aliyun.odps.counter.Counters counters) |
| Modifier and Type | Method and Description |
|---|---|
com.aliyun.odps.counter.Counters |
getCounters() |
String |
getDiagnostics() |
String |
getInstanceID() |
JobStatus |
getJobStatus() |
boolean |
isComplete() |
boolean |
isSuccessful() |
void |
killJob() |
float |
mapProgress() |
float |
reduceProgress() |
void |
waitForCompletion() |
public LocalRunningJob(String jobId, JobStatus state, com.aliyun.odps.counter.Counters counters)
public String getInstanceID()
getInstanceID in interface RunningJobpublic boolean isComplete()
isComplete in interface RunningJobpublic boolean isSuccessful()
isSuccessful in interface RunningJobpublic void waitForCompletion()
waitForCompletion in interface RunningJobpublic JobStatus getJobStatus()
getJobStatus in interface RunningJobpublic void killJob()
killJob in interface RunningJobpublic com.aliyun.odps.counter.Counters getCounters()
getCounters in interface RunningJobpublic String getDiagnostics()
getDiagnostics in interface RunningJobpublic float mapProgress()
throws IOException
mapProgress in interface RunningJobIOExceptionpublic float reduceProgress()
throws IOException
reduceProgress in interface RunningJobIOExceptionCopyright © 2020 Alibaba Cloud Computing. All rights reserved.