diff --git a/bigquery/cloud-client/src/main/java/com/example/bigquery/QuerySample.java b/bigquery/cloud-client/src/main/java/com/example/bigquery/QuerySample.java index c9e9438eb73..f37b3c19b91 100644 --- a/bigquery/cloud-client/src/main/java/com/example/bigquery/QuerySample.java +++ b/bigquery/cloud-client/src/main/java/com/example/bigquery/QuerySample.java @@ -56,8 +56,8 @@ public static void runStandardSqlQuery(String queryString) throws TimeoutException, InterruptedException { QueryJobConfiguration queryConfig = QueryJobConfiguration.newBuilder(queryString) - // To use standard SQL syntax, set useLegacySql to false. - // See: https://cloud.google.com/bigquery/sql-reference/ + // To use standard SQL syntax, set useLegacySql to false. See: + // https://cloud.google.com/bigquery/docs/reference/standard-sql/enabling-standard-sql .setUseLegacySql(false) .build(); @@ -73,12 +73,12 @@ public static void runQueryPermanentTable( boolean allowLargeResults) throws TimeoutException, InterruptedException { QueryJobConfiguration queryConfig = QueryJobConfiguration.newBuilder(queryString) - // Save the results of the query to a permanent table. - // See: https://cloud.google.com/bigquery/querying-data#permanent-table + // Save the results of the query to a permanent table. See: + // https://cloud.google.com/bigquery/docs/writing-results#permanent-table .setDestinationTable(TableId.of(destinationDataset, destinationTable)) // Allow results larger than the maximum response size. - // If true, a destination table must be set. - // See: https://cloud.google.com/bigquery/querying-data#large-results + // If true, a destination table must be set. See: + // https://cloud.google.com/bigquery/docs/writing-results#large-results .setAllowLargeResults(allowLargeResults) .build(); @@ -91,8 +91,8 @@ public static void runUncachedQuery(String queryString) throws TimeoutException, InterruptedException { QueryJobConfiguration queryConfig = QueryJobConfiguration.newBuilder(queryString) - // Do not use the query cache. Force live query evaluation. - // See: https://cloud.google.com/bigquery/querying-data#query-caching + // Do not use the query cache. Force live query evaluation. See: + // https://cloud.google.com/bigquery/docs/cached-results#disabling_retrieval_of_cached_results .setUseQueryCache(false) .build(); @@ -106,8 +106,8 @@ public static void runBatchQuery(String queryString) QueryJobConfiguration queryConfig = QueryJobConfiguration.newBuilder(queryString) // Run at batch priority, which won't count toward concurrent rate - // limit. - // See: https://cloud.google.com/bigquery/querying-data#interactive-batch + // limit. See: + // https://cloud.google.com/bigquery/docs/running-queries#batch .setPriority(QueryJobConfiguration.Priority.BATCH) .build();