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)
Parameter
Returns
of(JobConfiguration configuration)
public static JobInfo of(JobConfiguration configuration)
Parameter
Returns
of(JobId jobId, JobConfiguration configuration)
public static JobInfo of(JobId jobId, JobConfiguration configuration)
Parameters
Returns
Methods
<C>getConfiguration()
public C <C>getConfiguration()
Returns the job's configuration.
Returns
<S>getStatistics()
public S <S>getStatistics()
Returns information about the job, including starting time and ending time of the job.
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getEtag()
Returns the hash of the job resource.
Returns
getGeneratedId()
public String getGeneratedId()
Returns the service-generated id for the job.
Returns
getJobId()
Returns the job identity.
Returns
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
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.
Returns
getUserEmail()
public String getUserEmail()
Returns the email address of the user who ran the job.
Returns
hashCode()
Returns
Overrides
toBuilder()
public JobInfo.Builder toBuilder()
Returns a builder for the job object.
Returns
toString()
Returns
Overrides