Skip to content

Commit ab80bc3

Browse files
authored
---
yaml --- r: 31293 b: refs/heads/autosynth-bigtable c: 32551b2 h: refs/heads/master i: 31291: 386228f
1 parent fc2e74a commit ab80bc3

2 files changed

Lines changed: 5 additions & 14 deletions

File tree

  • branches/autosynth-bigtable/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
@@ -124,7 +124,7 @@ refs/heads/autosynth-asset: bdb45634a0fe8f7a510692b56b31f5312e25f453
124124
refs/heads/autosynth-automl: 22f9dd5b6f5df8dbfa7da0126864d565229519b2
125125
refs/heads/autosynth-bigquerydatatransfer: 71b6b6d2a992d05999b53e6e130c4fc1c8c8b4d7
126126
refs/heads/autosynth-bigquerystorage: a345f72d7a6358e9fea9dcdae94ec85a27da3088
127-
refs/heads/autosynth-bigtable: 00380dafe87787f2a3bdbdaf820b68d7a442bdf8
127+
refs/heads/autosynth-bigtable: 32551b2fa80878e3a7a47f2b1f5fc784b69f2cdb
128128
refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
129129
refs/heads/autosynth-containeranalysis: af5b804492292b43372c9fe00386696136ccae89
130130
refs/heads/autosynth-datastore: d0fc1187000c7a50d8bddd89c3b7cdf1187ecb96

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