MCPcopy
hub / github.com/redis/go-redis / AggMaxAggregator

Struct AggMaxAggregator

internal/routing/aggregator.go:379–382  ·  internal/routing/aggregator.go::AggMaxAggregator

AggMaxAggregator returns the maximum numeric value from all shards.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected