Modifier and Type | Class and Description |
---|---|
class |
Bigquery.Jobs.Get |
class |
Bigquery.Jobs.GetQueryResults |
class |
Bigquery.Jobs.Insert |
class |
Bigquery.Jobs.List |
class |
Bigquery.Jobs.Query |
Constructor and Description |
---|
Bigquery.Jobs() |
Modifier and Type | Method and Description |
---|---|
Bigquery.Jobs.Get |
get(String projectId,
String jobId)
Retrieves the specified job by ID.
|
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,
AbstractInputStreamContent mediaContent)
Starts a new asynchronous job.
|
Bigquery.Jobs.List |
list(String projectId)
Lists all the Jobs in the specified project that were started by the user.
|
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.Get get(String projectId, String jobId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Project ID of the requested jobjobId
- 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
- Project ID of the query jobjobId
- 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, 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