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

Mark AggregationResult#get with ObsoleteApi annotation #1175

Description

@jainsahab

Context: With the introduction of SUM And AVG aggregation, we have exposed two new methods AggregationResult#getLong(String) and AggregationResult#getDouble(String) as the existing method Long AggregationResult#get was not enough for the cases where we get an aggregation result of Double type (like in SUM and AVG aggregation). Now users can call the respective methods (getXXX) based on the type of aggregation results they are expecting.

Action Item: Once ObsoleteApi annotation is released and ready to use, mark AggregationResult#get with it.

Activity

  1. self-assigned this
    on Aug 23, 2023
  2. added
    documentationImprovements or additions to documentation
    api: datastoreIssues related to the googleapis/java-datastore API.
    and removed
    api: datastoreIssues related to the googleapis/java-datastore API.
    on Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: datastoreIssues related to the googleapis/java-datastore API.documentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions