Skip to content

Commit 0a40f5f

Browse files
authored
---
yaml --- r: 28711 b: refs/heads/autosynth-dlp c: 32551b2 h: refs/heads/master i: 28709: 7eb7b89 28707: 769f154 28703: 4c2c565
1 parent b4cba9c commit 0a40f5f

2 files changed

Lines changed: 5 additions & 14 deletions

File tree

  • branches/autosynth-dlp/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
@@ -103,7 +103,7 @@ refs/tags/v0.60.0: 4cd518d0612329f8a8e53484eef4cd1651e32855
103103
refs/tags/v0.61.0: e4b526656bb1bf5eefd0ee578b7405147821225e
104104
refs/tags/v0.62.0: bbede7385d48ba08f487bdd29ec10668ace96396
105105
refs/heads/0.60.0-alpha: 10939381ffe0b8da32db4fe3087c86e3aa7f3e55
106-
refs/heads/autosynth-dlp: 00380dafe87787f2a3bdbdaf820b68d7a442bdf8
106+
refs/heads/autosynth-dlp: 32551b2fa80878e3a7a47f2b1f5fc784b69f2cdb
107107
refs/heads/autosynth-logging: eca54b98c8cf82050bbdfc5c19139673dff9e5b8
108108
refs/heads/dupes: 3478c5d81fd242d0e985656645a679420a2060c2
109109
refs/tags/v0.63.0: 94f19b71d40f46b36120e7b9d78a1a3d41bfcbd6

branches/autosynth-dlp/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)