AggMinAggregator returns the minimum numeric value from all shards.
| 289 | |
| 290 | // AggMinAggregator returns the minimum numeric value from all shards. |
| 291 | type AggMinAggregator struct { |
| 292 | err atomic.Value |
| 293 | res *util.AtomicMin |
| 294 | } |
| 295 | |
| 296 | func (a *AggMinAggregator) Add(result interface{}, err error) error { |
| 297 | if err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected