//按count计算指标 func (this *DataRow) Count(row []interface{}) { for _, i := range this.RowMap.Count { this.Row[i] = compute.Add(this.Row[i], 1) } }
//按min计算指标 func (this *DataRow) Min(row []interface{}) { for _, i := range this.RowMap.Min { this.Row[i] = compute.Add(this.Row[i], row[i]) } }