AggregationResult specifies the returned results of a single aggregation.
Data structure
message AggregationResult {
optional string name = 1;
optional AggregationType type = 2;
optional bytes agg_result = 3; // encoded by XxxAggregationResult
}
Parameter | Type | Required | Description |
name | string | Yes | The name of the aggregation. |
type | Yes | The type of the aggregation. | |
agg_result | bytes | Yes | The returned results of the aggregation. The value is encoded in PlainBuffer. For more information, see PlainBuffer. |