Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

refactor: making query class generic #875

Merged
kolea2 merged 3 commits intogoogleapis:mainfrom
jainsahab:count_prep_1
Oct 14, 2022
Merged

refactor: making query class generic #875
kolea2 merged 3 commits intogoogleapis:mainfrom
jainsahab:count_prep_1

Conversation

@jainsahab
Copy link
Copy Markdown
Contributor

This change decouples Query.java from the concerns related to handling entity records. It is required as the definition of a Query is changed now and it is not just limited to the the fact that every query returns entity records, With the introduction of count feature and aggregation query, we will have queries returning aggregation results.

Note: This PR is intended to trim down the changes done as part of #823.

@jainsahab jainsahab requested review from a team October 13, 2022 06:20
@product-auto-label product-auto-label Bot added the size: m Pull request size is medium. label Oct 13, 2022
@conventional-commit-lint-gcf
Copy link
Copy Markdown

conventional-commit-lint-gcf Bot commented Oct 13, 2022

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@product-auto-label product-auto-label Bot added the api: datastore Issues related to the googleapis/java-datastore API. label Oct 13, 2022
@jainsahab jainsahab changed the title chore: Making query class generic chore: making query class generic Oct 13, 2022
@kolea2 kolea2 changed the title chore: making query class generic refactor: making query class generic Oct 13, 2022
Copy link
Copy Markdown
Contributor

@kolea2 kolea2 left a comment

Choose a reason for hiding this comment

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

lgtm with one outstanding question

@jainsahab jainsahab added the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 13, 2022
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 13, 2022
@kolea2 kolea2 merged commit 0e4ab63 into googleapis:main Oct 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: datastore Issues related to the googleapis/java-datastore API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants