Mark AggregationResult#get with ObsoleteApi annotation #1175
Labels
api: datastore
Issues related to the googleapis/java-datastore API.
documentation
Improvements or additions to documentation
Context: With the introduction of SUM And AVG aggregation, we have exposed two new methods
AggregationResult#getLong(String)
andAggregationResult#getDouble(String)
as the existing method Long AggregationResult#get was not enough for the cases where we get an aggregation result ofDouble
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.
The text was updated successfully, but these errors were encountered: