max

package
v2.3.8+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 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

	// Input arguments mapping
	ArgMap *functions.ArgumentMap

	IsInitialized bool
	Max           float32
}

func NewCount

func NewCount(inputColumns, optionalInputColumns []io.DataShape) (ma *Max)

CONCRETE - these may be suitable methods for general usage

func (*Max) Accum

func (ma *Max) Accum(cols io.ColumnInterface) 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) Init

func (ma *Max) Init(itf ...interface{}) error

func (Max) New

func (m Max) New() (out uda.AggInterface, am *functions.ArgumentMap)

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

func (*Max) Reset

func (ma *Max) Reset()

Reset() puts the aggregate state back to "new"

Jump to

Keyboard shortcuts

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