Class JobStatus (2.40.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
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
JobStatus.State

hashCode()

public final int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides