Documentation ¶
Index ¶
- type Count
- func (ca *Count) Accum(_ io.TimeBucketKey, _ *functions.ArgumentMap, cols io.ColumnInterface) (*io.ColumnSeries, error)
- func (ca *Count) GetInitArgs() []io.DataShape
- func (ca *Count) GetOptionalArgs() []io.DataShape
- func (ca *Count) GetRequiredArgs() []io.DataShape
- func (c Count) New(argMap *functions.ArgumentMap, itf ...interface{}) (out uda.AggInterface, err error)
- func (ca *Count) Output() *io.ColumnSeries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Count ¶
type Count struct { uda.AggInterface Sum int64 }
func (*Count) Accum ¶
func (ca *Count) Accum(_ io.TimeBucketKey, _ *functions.ArgumentMap, cols io.ColumnInterface, ) (*io.ColumnSeries, error)
Accum() sends new data to the aggregate
func (*Count) GetInitArgs ¶
func (*Count) GetOptionalArgs ¶
func (*Count) GetRequiredArgs ¶
func (Count) New ¶
func (c Count) New(argMap *functions.ArgumentMap, itf ...interface{}) (out uda.AggInterface, err error)
Creates a new count using the arguments of the specific implementation for inputColumns and optionalInputColumns
func (*Count) Output ¶
func (ca *Count) Output() *io.ColumnSeries
Output() returns the currently valid output of this aggregate
Click to show internal directories.
Click to hide internal directories.