public class JobInfo implements Serializable
Google BigQuery Job information. Jobs are objects that manage asynchronous tasks such as running
queries, loading data, and exporting data. Use CopyJobConfiguration for a job that copies
an existing table. Use ExtractJobConfiguration for a job that exports a table to Google
Cloud Storage. Use LoadJobConfiguration for a job that loads data from Google Cloud
Storage into a table. Use QueryJobConfiguration for a job that runs a query.
See Also: Jobs
Static Methods
newBuilder(JobConfiguration configuration)
public static JobInfo.Builder newBuilder(JobConfiguration configuration)
of(JobConfiguration configuration)
public static JobInfo of(JobConfiguration configuration)
of(JobId jobId, JobConfiguration configuration)
public static JobInfo of(JobId jobId, JobConfiguration configuration)
Methods
<C>getConfiguration()
public C <C>getConfiguration()
Returns the job's configuration.
Returns |
Type |
Description |
C |
|
<S>getStatistics()
public S <S>getStatistics()
Returns information about the job, including starting time and ending time of the job.
Returns |
Type |
Description |
S |
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getEtag()
Returns the hash of the job resource.
Returns |
Type |
Description |
String |
|
getGeneratedId()
public String getGeneratedId()
Returns the service-generated id for the job.
Returns |
Type |
Description |
String |
|
getJobId()
Returns the job identity.
Returns |
Type |
Description |
JobId |
|
getSelfLink()
public String getSelfLink()
Returns an URL that can be used to access the resource again. The returned URL can be used for
GET requests.
Returns |
Type |
Description |
String |
|
getStatus()
public JobStatus getStatus()
Returns the status of this job. Examine this value when polling an asynchronous job to see if
the job is complete.
getUserEmail()
public String getUserEmail()
Returns the email address of the user who ran the job.
Returns |
Type |
Description |
String |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
toBuilder()
public JobInfo.Builder toBuilder()
Returns a builder for the job object.
toString()
Returns |
Type |
Description |
String |
|
Overrides