max

package
v4.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Max

type Max struct {
	uda.AggInterface

	IsInitialized bool
	Max           float32
}

func (*Max) Accum

func (ma *Max) Accum(_ io.TimeBucketKey, argMap *functions.ArgumentMap, cols io.ColumnInterface,
) (*io.ColumnSeries, error)

Accum() sends new data to the aggregate

func (*Max) GetInitArgs

func (ma *Max) GetInitArgs() []io.DataShape

func (*Max) GetOptionalArgs

func (ma *Max) GetOptionalArgs() []io.DataShape

func (*Max) GetRequiredArgs

func (ma *Max) GetRequiredArgs() []io.DataShape

func (Max) New

func (m Max) 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 (*Max) Output

func (ma *Max) Output() *io.ColumnSeries

Output() returns the currently valid output of this aggregate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL