public static interface BigQueryServices.JobService
extends java.lang.AutoCloseable
Modifier and Type | Method and Description |
---|---|
JobStatistics |
dryRunQuery(java.lang.String projectId,
JobConfigurationQuery queryConfig,
java.lang.String location)
Dry runs the query in the given project.
|
Job |
getJob(JobReference jobRef)
Gets the specified
Job by the given JobReference . |
Job |
pollJob(JobReference jobRef,
int maxAttempts)
Waits for the job is Done, and returns the job.
|
void |
startCopyJob(JobReference jobRef,
JobConfigurationTableCopy copyConfig)
Start a BigQuery copy job.
|
void |
startExtractJob(JobReference jobRef,
JobConfigurationExtract extractConfig)
Start a BigQuery extract job.
|
void |
startLoadJob(JobReference jobRef,
JobConfigurationLoad loadConfig)
Start a BigQuery load job.
|
void |
startQueryJob(JobReference jobRef,
JobConfigurationQuery query)
Start a BigQuery query job.
|
void startLoadJob(JobReference jobRef, JobConfigurationLoad loadConfig) throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedException
java.io.IOException
void startExtractJob(JobReference jobRef, JobConfigurationExtract extractConfig) throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedException
java.io.IOException
void startQueryJob(JobReference jobRef, JobConfigurationQuery query) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
void startCopyJob(JobReference jobRef, JobConfigurationTableCopy copyConfig) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
Job pollJob(JobReference jobRef, int maxAttempts) throws java.lang.InterruptedException
Returns null if the maxAttempts
retries reached.
java.lang.InterruptedException
JobStatistics dryRunQuery(java.lang.String projectId, JobConfigurationQuery queryConfig, java.lang.String location) throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedException
java.io.IOException
Job getJob(JobReference jobRef) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException