package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

IsAggOptimized returns whether aggFn has an optimized implementation.
NewAggregateFuncsAlloc returns a new AggregateFuncsAlloc.
ProcessAggregations processes all aggregate functions specified in aggregations.

# Constants

HashAggKind indicates the hash strategy of executing an aggregate function in a grouping context.
OrderedAggKind indicates the ordered strategy of executing an aggregate function in a grouping context.
WindowAggKind indicates that an aggregate function is being executed as a window function.

# Structs

AggregateFuncsAlloc is a utility struct that pools allocations of multiple aggregate functions simultaneously (i.e.
NewAggregatorArgs encompasses all arguments necessary to instantiate either of the aggregators.
NewHashAggregatorArgs encompasses all mandatory arguments necessary to instantiate the hash aggregator.

# Interfaces

AggregateFunc is an aggregate function that performs computation on a batch when Compute(batch) is called and writes the output to the Vec passed in in SetOutput.

# Type aliases

AggKind represents the context in which an aggregate function is executed - in a grouping or a window context.