Documentation
¶
Overview ¶
Package aggregate implements the "aggregate" transform primitive: it folds every existing State.Rows entry's Values[field] down to one summary value (sum, avg, min, or max) and appends the result as a new Row.
Index ¶
Constants ¶
View Source
const Name = "aggregate"
Name is the primitive's registry key.
Variables ¶
View Source
var ErrInvalidParams = errors.New("invalid aggregate params")
ErrInvalidParams is returned by New when the "aggregate" step's params omit field or specify an op that isn't OpSum, OpAvg, OpMin, or OpMax.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.