Class JobStatus (2.33.2)

public class JobStatus implements Serializable

A Google BigQuery Job status. Objects of this class can be examined when polling an asynchronous job to see if the job completed.

Inheritance

Object > JobStatus

Implements

Serializable

Methods

equals(Object obj)

public final boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getError()

public BigQueryError getError()

Returns the final error result of the job. If present, indicates that the job has completed and was unsuccessful. See Also: Troubleshooting Errors

Returns
TypeDescription
BigQueryError

getExecutionErrors()

public List<BigQueryError> 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: Troubleshooting Errors

Returns
TypeDescription
List<BigQueryError>

getState()

public JobStatus.State getState()

Returns the state of the job. A State#PENDING job is waiting to be executed. A State#RUNNING is being executed. A State#DONE job has completed either succeeding or failing. If failed #getError() will be non-null.

Returns
TypeDescription
JobStatus.State

hashCode()

public final int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides