aggregator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 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 Aggregator

type Aggregator interface {
	StepInt64(int64)
	StepFloat64(float64)
	DoneInt() int64
	DoneFloat(float64) float64
	Bytes() []byte
	MergeBytes([]byte)
	Merge(Aggregator)
}

func DecodeAverage

func DecodeAverage(data []byte) Aggregator

func DecodeCount

func DecodeCount(data []byte) Aggregator

func DecodeMax

func DecodeMax(data []byte) Aggregator

func DecodeMin

func DecodeMin(data []byte) Aggregator

func DecodePercentile

func DecodePercentile(data []byte) Aggregator

func DecodeSum

func DecodeSum(data []byte) Aggregator

func FromBytes

func FromBytes(buf []byte) Aggregator

func NewAverage

func NewAverage() Aggregator

func NewCount

func NewCount() Aggregator

func NewMax

func NewMax() Aggregator

func NewMin

func NewMin() Aggregator

func NewPercentile

func NewPercentile() Aggregator

func NewSum

func NewSum() Aggregator

Jump to

Keyboard shortcuts

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