GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BigQuery : update links based on query docs refactoring · marcomasoni/java-docs-samples@c0abbb1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • bigquery/cloud-client/src/main/java/com/example/bigquery
    • QuerySample.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bigquery/cloud-client/src/main/java/com/example/bigquery/QuerySample.java‎

Copy file name to clipboardExpand all lines: bigquery/cloud-client/src/main/java/com/example/bigquery/QuerySample.java
+10-10Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public static void runStandardSqlQuery(String queryString)
5656
throws TimeoutException, InterruptedException {
5757
QueryJobConfiguration queryConfig =
5858
QueryJobConfiguration.newBuilder(queryString)
59-
// To use standard SQL syntax, set useLegacySql to false.
60-
// See: https://cloud.google.com/bigquery/sql-reference/
59+
// To use standard SQL syntax, set useLegacySql to false. See:
60+
// https://cloud.google.com/bigquery/docs/reference/standard-sql/enabling-standard-sql
6161
.setUseLegacySql(false)
6262
.build();
6363

@@ -73,12 +73,12 @@ public static void runQueryPermanentTable(
7373
boolean allowLargeResults) throws TimeoutException, InterruptedException {
7474
QueryJobConfiguration queryConfig =
7575
QueryJobConfiguration.newBuilder(queryString)
76-
// Save the results of the query to a permanent table.
77-
// See: https://cloud.google.com/bigquery/querying-data#permanent-table
76+
// Save the results of the query to a permanent table. See:
77+
// https://cloud.google.com/bigquery/docs/writing-results#permanent-table
7878
.setDestinationTable(TableId.of(destinationDataset, destinationTable))
7979
// Allow results larger than the maximum response size.
80-
// If true, a destination table must be set.
81-
// See: https://cloud.google.com/bigquery/querying-data#large-results
80+
// If true, a destination table must be set. See:
81+
// https://cloud.google.com/bigquery/docs/writing-results#large-results
8282
.setAllowLargeResults(allowLargeResults)
8383
.build();
8484

@@ -91,8 +91,8 @@ public static void runUncachedQuery(String queryString)
9191
throws TimeoutException, InterruptedException {
9292
QueryJobConfiguration queryConfig =
9393
QueryJobConfiguration.newBuilder(queryString)
94-
// Do not use the query cache. Force live query evaluation.
95-
// See: https://cloud.google.com/bigquery/querying-data#query-caching
94+
// Do not use the query cache. Force live query evaluation. See:
95+
// https://cloud.google.com/bigquery/docs/cached-results#disabling_retrieval_of_cached_results
9696
.setUseQueryCache(false)
9797
.build();
9898

@@ -106,8 +106,8 @@ public static void runBatchQuery(String queryString)
106106
QueryJobConfiguration queryConfig =
107107
QueryJobConfiguration.newBuilder(queryString)
108108
// Run at batch priority, which won't count toward concurrent rate
109-
// limit.
110-
// See: https://cloud.google.com/bigquery/querying-data#interactive-batch
109+
// limit. See:
110+
// https://cloud.google.com/bigquery/docs/running-queries#batch
111111
.setPriority(QueryJobConfiguration.Priority.BATCH)
112112
.build();
113113

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.