GroupByFilter groups query results based on specific query conditions and returns results in the order in which the filter conditions are added.
Request parameters
message GroupByFilter {
repeated Query filters = 1;
optional Aggregations sub_aggs = 2;
optional GroupBys sub_group_bys = 3;
}
Parameter | Type | Required | Description |
filters | Yes | The filters that can be used for the query. Results are returned in the order in which the filter conditions are specified. | |
sub_aggs | No | The sub-aggregation operation. You can perform the sub-aggregation operation on the grouping results. | |
sub_group_bys | No | The sub-GroupBy operation. You can perform the sub-GroupBy operation on the grouping results. |
Response parameters
message GroupByFilterResult {
repeated GroupByFilterResultItem group_by_filter_result_items = 1;
}
Parameter | Type | Required | Description |
group_by_filter_result_items | repeated GroupByFilterResultItem | Yes | The information about groups returned. |