Skip to content

Adding BigQuery snippet for QueryParameters - #1455

Merged
garrettjonesgoogle merged 2 commits into
googleapis:masterfrom
garrettjonesgoogle:master
Dec 8, 2016
Merged

Adding BigQuery snippet for QueryParameters#1455
garrettjonesgoogle merged 2 commits into
googleapis:masterfrom
garrettjonesgoogle:master

Conversation

@garrettjonesgoogle

Copy link
Copy Markdown
Contributor

No description provided.

@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 7, 2016
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 83.584% when pulling 2c8d3fe on garrettjonesgoogle:master into 0f6a47e on GoogleCloudPlatform:master.

@garrettjonesgoogle

Copy link
Copy Markdown
ContributorAuthor

Added @tswast in case he can get to this earlier than @lesv

@tswasttswast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except for a minor change.

/**
* Example of running a query with query parameters.
*/
// [TARGET query(QueryRequest)]

This comment was marked as spam.

public QueryResponse runQueryWithParameters(String query) throws InterruptedException {
// [START runQueryWithParameters]
QueryRequest request = QueryRequest.newBuilder(query)
.setUseLegacySql(false) // standard SQL is required to use query parameters

This comment was marked as spam.

@tswast

Copy link
Copy Markdown
Contributor

Thanks

lesv
lesv approved these changes Dec 8, 2016
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 83.584% when pulling 0b457c6 on garrettjonesgoogle:master into 0f6a47e on GoogleCloudPlatform:master.

@garrettjonesgoogle
garrettjonesgoogle merged commit cacf65e into googleapis:masterDec 8, 2016
github-actionsBot pushed a commit that referenced this pull request Aug 25, 2022
…datatransfer to v2.3.6 (#1455)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-bigquerydatatransfer](https://togithub.com/googleapis/java-bigquerydatatransfer) | `2.3.5` -> `2.3.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquerydatatransfer/2.3.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquerydatatransfer/2.3.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquerydatatransfer/2.3.6/compatibility-slim/2.3.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquerydatatransfer/2.3.6/confidence-slim/2.3.5)](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost.
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-bigquerydatatransfer).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNzQuMSIsInVwZGF0ZWRJblZlciI6IjMyLjE3NC4xIn0=-->
meltsufin pushed a commit that referenced this pull request Dec 22, 2025
…to v0.9.28 (#1455)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.graalvm.buildtools:junit-platform-native](https://togithub.com/graalvm/native-build-tools) | `0.9.27` -> `0.9.28` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.graalvm.buildtools:junit-platform-native/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.graalvm.buildtools:junit-platform-native/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.graalvm.buildtools:junit-platform-native/0.9.27/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.graalvm.buildtools:junit-platform-native/0.9.27/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>graalvm/native-build-tools (org.graalvm.buildtools:junit-platform-native)</summary>
### [`v0.9.28`](https://togithub.com/graalvm/native-build-tools/releases/tag/0.9.28)
[Compare Source](https://togithub.com/graalvm/native-build-tools/compare/0.9.27...0.9.28)
#### What's Changed
- Revert to previous version of `escapeArg()`. by [@&#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/515](https://togithub.com/graalvm/native-build-tools/pull/515)
- Document test binary configuration by [@&#8203;abelsromero](https://togithub.com/abelsromero) in [https://togithub.com/graalvm/native-build-tools/pull/509](https://togithub.com/graalvm/native-build-tools/pull/509)
- Fixes the problem that `org.junit.jupiter.api.condition.EnabledOnOs` cannot be used in NativeTest by [@&#8203;linghengqian](https://togithub.com/linghengqian) in [https://togithub.com/graalvm/native-build-tools/pull/504](https://togithub.com/graalvm/native-build-tools/pull/504)
- Remove deprecated use of `getConvention` by [@&#8203;melix](https://togithub.com/melix) in [https://togithub.com/graalvm/native-build-tools/pull/522](https://togithub.com/graalvm/native-build-tools/pull/522)
- Fix and improve major JDK version detection. by [@&#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/523](https://togithub.com/graalvm/native-build-tools/pull/523)
- Bump com.h2database:h2 from 2.1.210 to 2.2.220 in /samples/metadata-repo-integration by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://togithub.com/graalvm/native-build-tools/pull/499](https://togithub.com/graalvm/native-build-tools/pull/499)
- Fix toolchain documentation by [@&#8203;dnestoro](https://togithub.com/dnestoro) in [https://togithub.com/graalvm/native-build-tools/pull/525](https://togithub.com/graalvm/native-build-tools/pull/525)
- Re-enable Windows builds. by [@&#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/524](https://togithub.com/graalvm/native-build-tools/pull/524)
- Fix h2-related tests. by [@&#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/526](https://togithub.com/graalvm/native-build-tools/pull/526)
- Make metadata repo test version-agnostic. by [@&#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/527](https://togithub.com/graalvm/native-build-tools/pull/527)
- Make metadata repo Gradle test version-agnostic. by [@&#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/528](https://togithub.com/graalvm/native-build-tools/pull/528)
#### New Contributors
- [@&#8203;dependabot](https://togithub.com/dependabot) made their first contribution in [https://togithub.com/graalvm/native-build-tools/pull/499](https://togithub.com/graalvm/native-build-tools/pull/499)
**Full Changelog**: https://togithub.com/graalvm/native-build-tools/compare/0.9.27...0.9.28
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-logging).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
meltsufin pushed a commit that referenced this pull request Dec 22, 2025
chingor13 pushed a commit that referenced this pull request Jan 22, 2026
…nd query results (#1455)
* feat: New PropertyMask field which allows partial commits, lookups, and query results
PiperOrigin-RevId: 635449160
Source-Link: googleapis/googleapis@dde0ec1
Source-Link: https://github.com/googleapis/googleapis-gen/commit/8caa60d9aea82964a19cdf8faf91384911db8bdd
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGNhYTYwZDlhZWE4Mjk2NGExOWNkZjhmYWY5MTM4NDkxMWRiOGJkZCJ9
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Jan 22, 2026
* restore to older version
* update googleapis_committish
* fix googleapis_committish
* infer image tag from config yaml
* correct workflow name
* update config scripts and yamls
* remove old update_googleapis_committish workflow
* restore proto folder
* Revert "restore proto folder"
This reverts commit 59046f83269c16fb775d1069b54ee5de0749b8e5.
* feat: New PropertyMask field which allows partial commits, lookups, and query results (#1455)
* feat: New PropertyMask field which allows partial commits, lookups, and query results
PiperOrigin-RevId: 635449160
Source-Link: googleapis/googleapis@dde0ec1
Source-Link: googleapis/googleapis-gen@8caa60d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGNhYTYwZDlhZWE4Mjk2NGExOWNkZjhmYWY5MTM4NDkxMWRiOGJkZCJ9
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* sync config structure with that of google-cloud-java
* remove quotes from config yamls
* fix typo in update_generation_config.yaml
* correct
* quote codeowners_team in generation config
* update generator version
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---------
Co-authored-by: gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Feb 24, 2026
* fix: Retry sign blob call with exponential backoff
* chore: Add header for IamUtilsTest
* chore: Add comments for IamUtilsTest
* chore: Control each response for calls to the IAM Mock Server
* chore: Move IAM Retry status codes to IamUtils
* chore: Address PR comments
* chore: Address PR comments
* chore: Address PR comments
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 11, 2026
…to v0.9.28 (googleapis#1455)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.graalvm.buildtools:junit-platform-native](https://togithub.com/graalvm/native-build-tools) | `0.9.27` -> `0.9.28` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.graalvm.buildtools:junit-platform-native/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.graalvm.buildtools:junit-platform-native/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.graalvm.buildtools:junit-platform-native/0.9.27/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.graalvm.buildtools:junit-platform-native/0.9.27/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>graalvm/native-build-tools (org.graalvm.buildtools:junit-platform-native)</summary>
### [`v0.9.28`](https://togithub.com/graalvm/native-build-tools/releases/tag/0.9.28)
[Compare Source](https://togithub.com/graalvm/native-build-tools/compare/0.9.27...0.9.28)
#### What's Changed
- Revert to previous version of `escapeArg()`. by [@&googleapis#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/515](https://togithub.com/graalvm/native-build-tools/pull/515)
- Document test binary configuration by [@&googleapis#8203;abelsromero](https://togithub.com/abelsromero) in [https://togithub.com/graalvm/native-build-tools/pull/509](https://togithub.com/graalvm/native-build-tools/pull/509)
- Fixes the problem that `org.junit.jupiter.api.condition.EnabledOnOs` cannot be used in NativeTest by [@&googleapis#8203;linghengqian](https://togithub.com/linghengqian) in [https://togithub.com/graalvm/native-build-tools/pull/504](https://togithub.com/graalvm/native-build-tools/pull/504)
- Remove deprecated use of `getConvention` by [@&googleapis#8203;melix](https://togithub.com/melix) in [https://togithub.com/graalvm/native-build-tools/pull/522](https://togithub.com/graalvm/native-build-tools/pull/522)
- Fix and improve major JDK version detection. by [@&googleapis#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/523](https://togithub.com/graalvm/native-build-tools/pull/523)
- Bump com.h2database:h2 from 2.1.210 to 2.2.220 in /samples/metadata-repo-integration by [@&googleapis#8203;dependabot](https://togithub.com/dependabot) in [https://togithub.com/graalvm/native-build-tools/pull/499](https://togithub.com/graalvm/native-build-tools/pull/499)
- Fix toolchain documentation by [@&googleapis#8203;dnestoro](https://togithub.com/dnestoro) in [https://togithub.com/graalvm/native-build-tools/pull/525](https://togithub.com/graalvm/native-build-tools/pull/525)
- Re-enable Windows builds. by [@&googleapis#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/524](https://togithub.com/graalvm/native-build-tools/pull/524)
- Fix h2-related tests. by [@&googleapis#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/526](https://togithub.com/graalvm/native-build-tools/pull/526)
- Make metadata repo test version-agnostic. by [@&googleapis#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/527](https://togithub.com/graalvm/native-build-tools/pull/527)
- Make metadata repo Gradle test version-agnostic. by [@&googleapis#8203;fniephaus](https://togithub.com/fniephaus) in [https://togithub.com/graalvm/native-build-tools/pull/528](https://togithub.com/graalvm/native-build-tools/pull/528)
#### New Contributors
- [@&googleapis#8203;dependabot](https://togithub.com/dependabot) made their first contribution in [https://togithub.com/graalvm/native-build-tools/pull/499](https://togithub.com/graalvm/native-build-tools/pull/499)
**Full Changelog**: https://togithub.com/graalvm/native-build-tools/compare/0.9.27...0.9.28
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-logging).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 11, 2026
chingor13 pushed a commit that referenced this pull request Mar 12, 2026
* fix: Retry sign blob call with exponential backoff
* chore: Add header for IamUtilsTest
* chore: Add comments for IamUtilsTest
* chore: Control each response for calls to the IAM Mock Server
* chore: Move IAM Retry status codes to IamUtils
* chore: Address PR comments
* chore: Address PR comments
* chore: Address PR comments
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 23, 2026
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 23, 2026
meltsufin pushed a commit that referenced this pull request Apr 29, 2026
…yle-plugin to v3.2.1 (#1455)
* build(deps): update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.2.1
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
meltsufin pushed a commit that referenced this pull request May 1, 2026
…yle-plugin to v3.2.1 (#1455)
* build(deps): update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.2.1
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
benjaminp pushed a commit to benjaminp/google-cloud-java that referenced this pull request Jul 13, 2026
* feat: remove proto ReadEfficiencyStats
feat: remove field RequestStats.read_efficiency_stats
feat: rename proto AllReadStats to FullReadStatsView
feat: rename field RequestStats.all_read_stats to full_read_stats_view
feat: rename proto ReadIteratorStats to ReadIterationStats
feat: remove enum value ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY
feat: remove field ReadIterationStats.deletes_seen
PiperOrigin-RevId: 479370243
Source-Link: googleapis/googleapis@959d789
Source-Link: https://github.com/googleapis/googleapis-gen/commit/38b425264c03f3cdca279503c801c86604c8a67a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzhiNDI1MjY0YzAzZjNjZGNhMjc5NTAzYzgwMWM4NjYwNGM4YTY3YSJ9
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* update clirr ignored differences
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* add note
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Kristen O'Leary <kaoleary@google.com>
Co-authored-by: kolea2 <45548808+kolea2@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@garrettjonesgoogle@coveralls@tswast@lesv@googlebot