@@ -56,8 +56,8 @@ public static void runStandardSqlQuery(String queryString)
56
56
throws TimeoutException , InterruptedException {
57
57
QueryJobConfiguration queryConfig =
58
58
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
61
61
.setUseLegacySql (false )
62
62
.build ();
63
63
@@ -73,12 +73,12 @@ public static void runQueryPermanentTable(
73
73
boolean allowLargeResults ) throws TimeoutException , InterruptedException {
74
74
QueryJobConfiguration queryConfig =
75
75
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
78
78
.setDestinationTable (TableId .of (destinationDataset , destinationTable ))
79
79
// 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
82
82
.setAllowLargeResults (allowLargeResults )
83
83
.build ();
84
84
@@ -91,8 +91,8 @@ public static void runUncachedQuery(String queryString)
91
91
throws TimeoutException , InterruptedException {
92
92
QueryJobConfiguration queryConfig =
93
93
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
96
96
.setUseQueryCache (false )
97
97
.build ();
98
98
@@ -106,8 +106,8 @@ public static void runBatchQuery(String queryString)
106
106
QueryJobConfiguration queryConfig =
107
107
QueryJobConfiguration .newBuilder (queryString )
108
108
// 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
111
111
.setPriority (QueryJobConfiguration .Priority .BATCH )
112
112
.build ();
113
113
0 commit comments