Documentation ¶
Index ¶
Constants ¶
View Source
const MaxValueSize = 20 * 1024 * 1024
MaxValueSize is a limit on an individual aggregation value since sets and arrays could otherwise grow without limit leading to a single record value that cannot fit in memory.
Variables ¶
View Source
var ( ErrBadValue = errors.New("bad value") ErrFieldRequired = errors.New("field parameter required") )
Functions ¶
This section is empty.
Types ¶
type CountDistinct ¶
type CountDistinct struct {
// contains filtered or unexported fields
}
CountDistinct uses hyperloglog to approximate the count of unique values for a field.
func NewCountDistinct ¶
func NewCountDistinct() *CountDistinct
func (*CountDistinct) ConsumeAsPartial ¶
func (*CountDistinct) ConsumeAsPartial(v zed.Value) error
func (*CountDistinct) ResultAsPartial ¶
type Duration ¶
type Duration struct {
// contains filtered or unexported fields
}
func NewDuration ¶
type Pattern ¶
type Pattern func() Function
A Pattern is a template for creating instances of aggregator functions. NewPattern returns a pattern of the type that should be created and an instance is created by simply invoking the pattern funtion.
func NewPattern ¶
type Schema ¶
type Schema struct {
// contains filtered or unexported fields
}
Schema constructs a fused record type for the record types passed to Mixin. Records of any mixed-in type can be shaped to the fused type without loss of information.
Click to show internal directories.
Click to hide internal directories.