Package com.google.cloud.bigquery
Class JobStatus
java.lang.Object
com.google.cloud.bigquery.JobStatus
- All Implemented Interfaces:
Serializable
A Google BigQuery Job status. Objects of this class can be examined when polling an asynchronous
job to see if the job completed.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Possible states that a BigQuery Job can assume. -
Method Summary
-
Method Details
-
getState
Returns the state of the job. AJobStatus.State.PENDING
job is waiting to be executed. AJobStatus.State.RUNNING
is being executed. AJobStatus.State.DONE
job has completed either succeeding or failing. If failedgetError()
will be non-null. -
getError
Returns the final error result of the job. If present, indicates that the job has completed and was unsuccessful.- See Also:
-
getExecutionErrors
Returns all errors encountered during the running of the job. Errors here do not necessarily mean that the job has completed or was unsuccessful.- See Also:
-
toString
-
hashCode
public final int hashCode() -
equals
-