Add accumulates the passed datums into the AggregateFunc. Most implementations require one and only one firstArg argument. If an aggregate function requires more than one argument, all additional arguments (after firstArg) are passed in as a variadic collection, otherArgs. This interface (as opposed
(_ context.Context, firstArg Datum, otherArgs ...Datum)
| 22 | // This interface (as opposed to `args ...Datum`) avoids unnecessary |
| 23 | // allocation of otherArgs in the majority of cases. |
| 24 | Add(_ context.Context, firstArg Datum, otherArgs ...Datum) error |
| 25 | |
| 26 | // Result returns the current value of the accumulation. This value |
| 27 | // will be a deep copy of any AggregateFunc internal state, so that |
no outgoing calls
no test coverage detected