All Products
Search
Document Center

Tablestore:AggregationType

Last Updated:Apr 28, 2026

AggregationType specifies the aggregation type.

Enumeration value list

  • AGG_AVG: average value.

  • AGG_DISTINCT_COUNT: distinct count of rows.

  • AGG_MAX: maximum value.

  • AGG_MIN: minimum value.

  • AGG_SUM: sum.

  • AGG_COUNT: count of rows.

  • AGG_TOP_ROWS: top rows from each group's aggregation results.

  • AGG_PERCENTILES: percentile statistics.

enum AggregationType {
    AGG_AVG = 1;
    AGG_DISTINCT_COUNT = 6;
    AGG_MAX = 2;
    AGG_MIN = 3;
    AGG_SUM = 4;
    AGG_COUNT = 5;
    AGG_TOP_ROWS = 7;
    AGG_PERCENTILES = 8;
}