Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

chore!: renamed QueryResult -> RowStream #978

Merged
merged 3 commits into from
Oct 24, 2019

Conversation

devjgm
Copy link
Contributor

@devjgm devjgm commented Oct 24, 2019

Fixes #977

Renames QueryResult -> RowStream for the reasons described in #977. Also standardized on variable naming: The variable used to store the results of a client.Read(...) or client.ExecuteQuery(...) is always named rows now, which I think reads nicely in the code.

This PR is a semantic no-op. Only a rename.


This change is Reviewable

@devjgm devjgm requested a review from coryan October 24, 2019 17:18
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 24, 2019
Copy link
Contributor

@coryan coryan left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 17 of 17 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@codecov
Copy link

codecov bot commented Oct 24, 2019

Codecov Report

Merging #978 into master will decrease coverage by 0.07%.
The diff coverage is 99.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #978      +/-   ##
==========================================
- Coverage   94.22%   94.14%   -0.08%     
==========================================
  Files         159      159              
  Lines       10623    10619       -4     
==========================================
- Hits        10009     9997      -12     
- Misses        614      622       +8
Impacted Files Coverage Δ
google/cloud/spanner/internal/connection_impl.h 100% <ø> (ø) ⬆️
google/cloud/spanner/client.h 100% <ø> (ø) ⬆️
google/cloud/spanner/connection.h 100% <ø> (ø) ⬆️
google/cloud/spanner/results_test.cc 93.45% <100%> (ø) ⬆️
google/cloud/spanner/samples/mock_execute_query.cc 100% <100%> (ø) ⬆️
...ud/spanner/integration_tests/client_stress_test.cc 81.57% <100%> (-1.76%) ⬇️
google/cloud/spanner/results.cc 94.28% <100%> (ø) ⬆️
google/cloud/spanner/samples/samples.cc 89.35% <100%> (-0.41%) ⬇️
...anner/integration_tests/client_integration_test.cc 99.45% <100%> (ø) ⬆️
.../spanner/integration_tests/throughput_benchmark.cc 71.71% <100%> (ø) ⬆️
... and 12 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 89c3d66...4319f54. Read the comment docs.

@devjgm devjgm merged commit 7412cde into googleapis:master Oct 24, 2019
@devjgm devjgm deleted the rename-queryresult branch October 24, 2019 18:14
devjgm added a commit to devjgm/google-cloud-cpp that referenced this pull request May 7, 2020
…-spanner#978)

Fixes googleapis/google-cloud-cpp-spanner#977

Renames QueryResult -> RowStream for the reasons described in googleapis/google-cloud-cpp-spanner#977. Also standardized on variable naming: The variable used to store the results of a client.Read(...) or client.ExecuteQuery(...) is always named rows now, which I think reads nicely in the code.

This PR is a semantic no-op. Only a rename.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

consider renaming QueryResult -> RowStream
3 participants