max

package
v4.1.23 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 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 (m *Max) Accum(_ io.TimeBucketKey, argMap *functions.ArgumentMap, cols io.ColumnInterface,
) (*io.ColumnSeries, error)

Accum sends new data to the aggregate.

func (*Max) GetInitArgs

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

func (*Max) GetOptionalArgs

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

func (*Max) GetRequiredArgs

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