Skip to content

Commit ca8dee9

Browse files
authored
---
yaml --- r: 32351 b: refs/heads/autosynth-errorreporting c: 32551b2 h: refs/heads/master i: 32349: e7b44c4 32347: 3d50049 32343: c5efe17 32335: 2e5fc67 32319: 9360297
1 parent 112f3dd commit ca8dee9

2 files changed

Lines changed: 5 additions & 14 deletions

File tree

  • branches/autosynth-errorreporting/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
129129
refs/heads/autosynth-containeranalysis: 18d210f81f17cf74864d0db2c29e834302f74f2a
130130
refs/heads/autosynth-datastore: f1efc3dc465174f41041acd56cf29badcec3e5bd
131131
refs/heads/autosynth-dialogflow: 73974cc32e5212aec0126472e0bc1442886fedaf
132-
refs/heads/autosynth-errorreporting: 00380dafe87787f2a3bdbdaf820b68d7a442bdf8
132+
refs/heads/autosynth-errorreporting: 32551b2fa80878e3a7a47f2b1f5fc784b69f2cdb
133133
refs/heads/autosynth-firestore: 983c75e4fb1076502c8cac73ef0538bdb10884f3
134134
refs/heads/autosynth-iot: 4025d1804241e74d54950a324dc4f667aeaad4b3
135135
refs/heads/autosynth-kms: 6b65b0f34c12d141031c7288cdc01e550212d0f6

branches/autosynth-errorreporting/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQuery.java

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -673,22 +673,13 @@ public int hashCode() {
673673
/**
674674
* Deletes the requested table.
675675
*
676-
* <p>Example of deleting a table.
677-
*
678-
* <pre>{@code
679-
* String datasetName = "my_dataset_name";
680-
* String tableName = "my_table_name";
681-
* boolean deleted = bigquery.delete(datasetName, tableName);
682-
* if (deleted) {
683-
* // the table was deleted
684-
* } else {
685-
* // the table was not found
686-
* }
687-
* }</pre>
688-
*
676+
* @deprecated Now that BigQuery datasets contain multiple resource types, this invocation is
677+
* ambiguous. Please use more strongly typed version of {@code #delete} that leverages an
678+
* non-ambiguous resource type identifier such as {@code TableId}.
689679
* @return {@code true} if table was deleted, {@code false} if it was not found
690680
* @throws BigQueryException upon failure
691681
*/
682+
@Deprecated
692683
boolean delete(String datasetId, String tableId);
693684

694685
/**

0 commit comments

Comments
 (0)