AggMaxAggregator returns the maximum numeric value from all shards.
| 377 | |
| 378 | // AggMaxAggregator returns the maximum numeric value from all shards. |
| 379 | type AggMaxAggregator struct { |
| 380 | err atomic.Value |
| 381 | res *util.AtomicMax |
| 382 | } |
| 383 | |
| 384 | func (a *AggMaxAggregator) Add(result interface{}, err error) error { |
| 385 | if err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected