public class JobStatus extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
JobStatus.State
Possible states that a BigQuery Job can assume.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BigQueryError |
getError()
Returns the final error result of the job.
|
List<BigQueryError> |
getExecutionErrors()
Returns all errors encountered during the running of the job.
|
JobStatus.State |
getState()
Returns the state of the job.
|
int |
hashCode() |
String |
toString() |
public JobStatus.State getState()
JobStatus.State.PENDING
job is waiting to be executed. A
JobStatus.State.RUNNING
is being executed. A JobStatus.State.DONE
job has completed either
succeeding or failing. If failed getError()
will be non-null.public BigQueryError getError()
public List<BigQueryError> getExecutionErrors()
Copyright © 2018 Google. All rights reserved.