但是,如果使用具有相同分组关键字的多个聚合,或者对相同列进行计数的计数函数,其不会显著增加规则的执行时间。
But if you use multiple aggregations with the same grouping keys, or multiple counting functions that count the same column, it will not significantly increase the execution time of the rule.
与计数函数类似,当在一个规则中使用多个具有分组关键字的聚合,对分组与计数操作必须进行级联,如图14所示。
Like the counting function, when several aggregations with grouping keys are used in a rule, the group and count operations must be cascaded as shown in figure 14.
只对每个位置的邻居总数感兴趣,不需要详细的邻居列表,所以对每个位置的结果进行分组,并只要求计数。
You're only interested in the total number of neighbors for each location, not the detailed list of neighbors, so group the results for each location and only ask for a count.
应用推荐