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 ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type And ¶
type And struct {
// contains filtered or unexported fields
}
func (*And) ConsumeAsPartial ¶
type Any ¶
func (*Any) ConsumeAsPartial ¶
type Avg ¶
type Avg struct {
// contains filtered or unexported fields
}
func (*Avg) ConsumeAsPartial ¶
type Collect ¶
type Collect struct {
// contains filtered or unexported fields
}
func (*Collect) ConsumeAsPartial ¶
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) Consume ¶
func (c *CountDistinct) Consume(val *zed.Value)
func (*CountDistinct) ConsumeAsPartial ¶
func (*CountDistinct) ConsumeAsPartial(*zed.Value)
func (*CountDistinct) ResultAsPartial ¶
func (*CountDistinct) ResultAsPartial(zctx *zed.Context) *zed.Value
type Duration ¶
type Duration struct {
// contains filtered or unexported fields
}
func NewDuration ¶
type Or ¶
type Or struct {
// contains filtered or unexported fields
}
func (*Or) ConsumeAsPartial ¶
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.
type Union ¶
type Union struct {
// contains filtered or unexported fields
}
func (*Union) ConsumeAsPartial ¶
Click to show internal directories.
Click to hide internal directories.