Database Reference
In-Depth Information
TableData.insertAll() to send records one at a time, the record list in
the API signature encourages you to batch up your requests.
Jobs
The Jobs collection enables you to actually “do” things with BigQuery, such
as add your data or query it. This chapter gives only a cursory introduction
to the types of jobs you can run in BigQuery and some of their more common
options. Later chapters go into more detail. For now, we just consider REST
operations on jobs and the shared portions of the Job resource.
Jobs always belong to a single project—the project that will be responsible
for paying for running the jobs. Job quotas are per-project as well. To
reflect this relationship, the Jobs collection is nested under the Projects
collection. A full Jobs.list() URL for the bigquery-e2e project is
https://www.googleapis.com/bigquery/v2/projects/
bigquery-e2e/jobs . Table 5.10 shows the available REST methods and
their relative URLs.
Table 5.10 Jobs REST Collection
Method
URL
HTTP
Verb
Jobs.insert()
. . . /projects/
<project_id>/jobs/
POST
Jobs.get()
. . . /projects/
<project_id>/jobs/<job_id>
GET
Jobs.list()
. . . /projects/
<project_id>/jobs/
GET
Jobs.query()
. . . /projects/
<project_id>/queries/
POST
Jobs.getQueryResults() . . . /projects/
<project_id>/queries/
<job_id>
GET
 
 
Search WWH ::




Custom Search