public class Bigquery.Jobs
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Bigquery.Jobs.Cancel |
class |
Bigquery.Jobs.Get |
class |
Bigquery.Jobs.GetQueryResults |
class |
Bigquery.Jobs.Insert |
class |
Bigquery.Jobs.List |
class |
Bigquery.Jobs.Query |
Constructor and Description |
---|
Jobs() |
Modifier and Type | Method and Description |
---|---|
Bigquery.Jobs.Cancel |
cancel(java.lang.String projectId,
java.lang.String jobId)
Requests that a job be cancelled.
|
Bigquery.Jobs.Get |
get(java.lang.String projectId,
java.lang.String jobId)
Returns information about a specific job.
|
Bigquery.Jobs.GetQueryResults |
getQueryResults(java.lang.String projectId,
java.lang.String jobId)
Retrieves the results of a query job.
|
Bigquery.Jobs.Insert |
insert(java.lang.String projectId,
Job content)
Starts a new asynchronous job.
|
Bigquery.Jobs.Insert |
insert(java.lang.String projectId,
Job content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Starts a new asynchronous job.
|
Bigquery.Jobs.List |
list(java.lang.String projectId)
Lists all jobs that you started in the specified project.
|
Bigquery.Jobs.Query |
query(java.lang.String projectId,
QueryRequest content)
Runs a BigQuery SQL query synchronously and returns query results if the query completes within a
specified timeout.
|
public Bigquery.Jobs.Cancel cancel(java.lang.String projectId, java.lang.String jobId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- [Required] Project ID of the job to canceljobId
- [Required] Job ID of the job to canceljava.io.IOException
public Bigquery.Jobs.Get get(java.lang.String projectId, java.lang.String jobId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- [Required] Project ID of the requested jobjobId
- [Required] Job ID of the requested jobjava.io.IOException
public Bigquery.Jobs.GetQueryResults getQueryResults(java.lang.String projectId, java.lang.String jobId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- [Required] Project ID of the query jobjobId
- [Required] Job ID of the query jobjava.io.IOException
public Bigquery.Jobs.Insert insert(java.lang.String projectId, Job content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Project ID of the project that will be billed for the jobcontent
- the Job
java.io.IOException
public Bigquery.Jobs.Insert insert(java.lang.String projectId, Job content, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
This method should be used for uploading media content.
projectId
- Project ID of the project that will be billed for the jobcontent
- the Job
media metadata or null
if nonemediaContent
- The media HTTP content or null
if none.java.io.IOException
- if the initialization of the request failspublic Bigquery.Jobs.List list(java.lang.String projectId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Project ID of the jobs to listjava.io.IOException
public Bigquery.Jobs.Query query(java.lang.String projectId, QueryRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Project ID of the project billed for the querycontent
- the QueryRequest
java.io.IOException