GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Datastore : add GqlQuery#setBinding method which accept null value by athakor · Pull Request #6360 · googleapis/google-cloud-java

Conversation

@athakor

@athakor athakor commented Sep 26, 2019

Copy link
Copy Markdown
Contributor

Fixes #6357

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
athakor added 3 commits September 26, 2019 14:49
@athakor
Add setBinding method which accept null value
dcfb87c
@athakor
Modified the code
3325404
@athakor
Fix review changes
10d9f64
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 26, 2019
@athakor athakor added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 26, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 26, 2019
@chingor13
chingor13 requested a review from BenWhitehead October 1, 2019 22:17
@chingor13 chingor13 assigned BenWhitehead Oct 1, 2019
BenWhitehead
BenWhitehead suggested changes Oct 2, 2019
View reviewed changes
Comment thread ...-cloud-clients/google-cloud-datastore/src/main/java/com/google/cloud/datastore/GqlQuery.java Outdated
*
* @param name of the binding
*/
public Builder<V> setBinding(String name) {

@BenWhitehead BenWhitehead Oct 2, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Please rename this method to setNullBinding so that the name of the method matches the behavior that is implemented.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@athakor athakor Oct 3, 2019

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done. PTAL

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@athakor
Fix review changes
8774b0b
@codecov

codecov Bot commented Oct 3, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #6360 into master will decrease coverage by 0.5%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #6360      +/-   ##
============================================
- Coverage     46.85%   46.34%   -0.51%     
+ Complexity    28122    27984     -138     
============================================
  Files          2601     2613      +12     
  Lines        287273   287931     +658     
  Branches      33361    33751     +390     
============================================
- Hits         134608   133452    -1156     
- Misses       142431   144259    +1828     
+ Partials      10234    10220      -14
Impacted Files Coverage Δ Complexity Δ
...main/java/com/google/cloud/datastore/GqlQuery.java 44.75% <100%> (+7.16%) 11 <0> (+2) ⬆️
...ud/bigtable/admin/v2/BigtableTableAdminClient.java 61.33% <0%> (-18.67%) 27% <0%> (ø)
...in/java/com/google/cloud/storage/PolicyHelper.java 95.23% <0%> (-4.77%) 7% <0%> (+1%)
...m/google/cloud/redis/v1beta1/CloudRedisClient.java 56.41% <0%> (-3.96%) 35% <0%> (ø)
...ain/java/com/google/cloud/storage/StorageImpl.java 76.72% <0%> (-1.66%) 114% <0%> (+14%)
.../main/java/com/google/cloud/compute/v1/UrlMap.java 30.7% <0%> (-1.48%) 22% <0%> (+3%)
...cloud/datacatalog/v1beta1/DataCatalogSettings.java 9.33% <0%> (-1.44%) 2% <0%> (ø)
...va/com/google/cloud/compute/v1/ForwardingRule.java 35.88% <0%> (-1.25%) 29% <0%> (+1%)
...loud/datacatalog/v1beta1/stub/DataCatalogStub.java 3.7% <0%> (-0.85%) 1% <0%> (ø)
...va/com/google/cloud/compute/v1/BackendService.java 32.24% <0%> (-0.81%) 34% <0%> (+4%)
... and 69 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e5fbcd...8774b0b. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

BenWhitehead
BenWhitehead approved these changes Oct 3, 2019
View reviewed changes
@BenWhitehead
BenWhitehead merged commit cd38245 into googleapis:master Oct 3, 2019
@chingor13 chingor13 mentioned this pull request Oct 9, 2019
Release google-cloud-java v0.115.0 #6476
Merged
@codyoss codyoss mentioned this pull request Nov 6, 2019
Release google-cloud-java v0.112.0 #6703
Closed
chingor13 pushed a commit that referenced this pull request Jan 22, 2026
@athakor @BenWhitehead
Datastore : add GqlQuery#setNullBinding method (#6360)
8ada272
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@BenWhitehead BenWhitehead BenWhitehead approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@BenWhitehead BenWhitehead

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

com.google.cloud.datastore.GqlQuery.Builder does not accept null values and results in an exception

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@athakor @BenWhitehead @googlebot @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.