Skip to content

Commit 9297057

Browse files
authored
---
yaml --- r: 34915 b: refs/heads/autosynth-trace c: 32551b2 h: refs/heads/master i: 34913: 4c93c65 34911: 83ec60d
1 parent b7a504b commit 9297057

2 files changed

Lines changed: 5 additions & 14 deletions

File tree

  • branches/autosynth-trace/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
@@ -141,7 +141,7 @@ refs/heads/autosynth-spanner: d963fe4368e79cf6abae5d511785e8ced8ac57f4
141141
refs/heads/autosynth-speech: c563dcd420cce0a37c39b1b9c24be1b9ba604dc7
142142
refs/heads/autosynth-tasks: 25d1eafe8cb66b00e3dad765dac74a5b45b83e63
143143
refs/heads/autosynth-texttospeech: 7a3ad430dddaed7a76f2026064502680c9339915
144-
refs/heads/autosynth-trace: 00380dafe87787f2a3bdbdaf820b68d7a442bdf8
144+
refs/heads/autosynth-trace: 32551b2fa80878e3a7a47f2b1f5fc784b69f2cdb
145145
refs/heads/autosynth-websecurityscanner: fa561b356aabcd92d415ae8dc88fd8d87dbc5b23
146146
refs/heads/bigquerystorage: 06db74d123d7f8a3ef48755c2fcabed09faf8e64
147147
refs/heads/elharo-patch-1: ce159ef828d3c545991ff78e7b6e0d912a9453e9

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