- Fix spelling. The name "Bigquery" is some methods are now properly spelled "BigQuery".
Job.getQueryResultsnow 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.queryandJob.getQueryResultsreturnsTableResult, notQueryResponse.- Instead of
queryResponse.getResult().iterateAll(), usetableResult.iterateAll(). - This change should make iterating large result sets significantly faster.
- Instead of
BigQuery.listTableDataandTable.listreturnsTableResultinstead ofPage<FieldValueList>.- This remains source-compatible, since
TableResultimplementsPage<FieldValueList>. TableResultallows insertingShemainto each iterated row.TableResult.getTotalRows()can be called to obtain the total number of rows across pages.
- This remains source-compatible, since
- Various
Jobstatistics are no longer available atQueryResponse.- Use
BigQuery.getJobthenJob.getStatisticsinstead.
- Use
This repository was archived by the owner on Apr 14, 2022. It is now read-only.