AckdbBreakdownData

Properties

groupsarray ofrequired

At most topN, ordered per the spec. A null label is a real group ("unset"), never dropped.

labelstring (nullable)required
valuenumber (nullable)required
totalnumber (nullable)required

The AGGREGATE across ALL groups, pre-topN, in the same unit as `value` - NOT a row count (it is a row count only when agg is `count`). This is what a percent-of-total label needs.

groupCountintegerrequired

How many groups exist in total.

othersobject (nullable)required

Present only with othersBucket:true AND more groups than were returned. Exact, derived from the two window functions.

valuenumber
groupCountinteger

Example

AckdbBreakdownData example
{
  "groups": [
    {
      "label": "string",
      "value": 0
    }
  ],
  "total": 0,
  "groupCount": 0,
  "others": {
    "value": 0,
    "groupCount": 0
  }
}