- Fix spelling. The name "Bigquery" is some methods are now properly spelled "BigQuery".
Job.getQueryResults
now waits for the query to complete.- You no longer have to call
Job.waitFor
.
- You no longer have to call
BigQuery.getQueryResults(JobId)
is replaced.- Instead of
bigquery.getQueryResults(id)
, usebigquery.getJob(id).getQueryResults()
.
- Instead of
BigQuery.query
andJob.getQueryResults
returnsTableResult
, notQueryResponse
.- Instead of
queryResponse.getResult().iterateAll()
, usetableResult.iterateAll()
. - This change should make iterating large result sets significantly faster.
- Instead of
BigQuery.listTableData
andTable.list
returnsTableResult
instead ofPage<FieldValueList>
.- This remains source-compatible, since
TableResult
implementsPage<FieldValueList>
. TableResult
allows insertingShema
into each iterated row.TableResult.getTotalRows()
can be called to obtain the total number of rows across pages.
- This remains source-compatible, since
- Various
Job
statistics are no longer available atQueryResponse
.- Use
BigQuery.getJob
thenJob.getStatistics
instead.
- Use
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.