Modifier and Type | Class and Description |
---|---|
class |
Bigquery.Jobs.Cancel |
class |
Bigquery.Jobs.Delete |
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(String projectId,
String jobId)
Requests that a job be cancelled.
|
Bigquery.Jobs.Delete |
delete(String projectId,
String jobId)
Requests the deletion of the metadata of a job.
|
Bigquery.Jobs.Get |
get(String projectId,
String jobId)
Returns information about a specific job.
|
Bigquery.Jobs.GetQueryResults |
getQueryResults(String projectId,
String jobId)
Retrieves the results of a query job.
|
Bigquery.Jobs.Insert |
insert(String projectId,
Job content)
Starts a new asynchronous job.
|
Bigquery.Jobs.Insert |
insert(String projectId,
Job content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Starts a new asynchronous job.
|
Bigquery.Jobs.List |
list(String projectId)
Lists all jobs that you started in the specified project.
|
Bigquery.Jobs.Query |
query(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(String projectId, String jobId) throws 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 cancelIOException
public Bigquery.Jobs.Delete delete(String projectId, String jobId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Required. Project ID of the job for which metadata is to be deleted.jobId
- Required. Job ID of the job for which metadata is to be deleted. If this is a parent job which has
child jobs, the metadata from all child jobs will be deleted as well. Direct deletion of
the metadata of child jobs is not allowed.IOException
public Bigquery.Jobs.Get get(String projectId, String jobId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- [Required] Project ID of the requested jobjobId
- [Required] Job ID of the requested jobIOException
public Bigquery.Jobs.GetQueryResults getQueryResults(String projectId, String jobId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- [Required] Project ID of the query jobjobId
- [Required] Job ID of the query jobIOException
public Bigquery.Jobs.Insert insert(String projectId, Job content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Project ID of the project that will be billed for the jobcontent
- the Job
IOException
public Bigquery.Jobs.Insert insert(String projectId, Job content, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws 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.IOException
- if the initialization of the request failspublic Bigquery.Jobs.List list(String projectId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Project ID of the jobs to listIOException
public Bigquery.Jobs.Query query(String projectId, QueryRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Project ID of the project billed for the querycontent
- the QueryRequest
IOException
Copyright © 2011–2023 Google. All rights reserved.