A container for an AggregateFunction with its AggregateMode and a field
(isDistinct
) indicating if DISTINCT keyword is specified for this function.
AggregateFunction is the superclass of two aggregation function interfaces:
The mode of an AggregateFunction.
A central moment is the expected value of a specified power of the deviation of a random variable from the mean.
The Collect aggregate function collects all seen expression values into a list of values.
Collect a list of elements.
Collect a list of unique elements.
Compute Pearson correlation between two expressions.
Compute the covariance between two expressions.
API for aggregation functions that are expressed in terms of Catalyst expressions.
Returns the first value of child
for a group of rows.
HyperLogLog++ (HLL++) is a state of the art cardinality estimation algorithm.
API for aggregation functions that are expressed in terms of imperative initialize(), update(), and merge() functions which operate on Row-based aggregation buffers.
Returns the last value of child
for a group of rows.
PivotFirst is an aggregate function used in the second phase of a two phase pivot to do the required rearrangement of values into pivoted form.
An AggregateFunction with Complete mode is used to evaluate this function directly from original input rows without any partial aggregation.
An AggregateFunction with Final mode is used to merge aggregation buffers containing intermediate results for this function and then generate final result.
Constants used in the implementation of the HyperLogLogPlusPlus aggregate function.
A place holder expressions used in code-gen, it does not change the corresponding value in the row.
An AggregateFunction with Partial mode is used for partial aggregation.
An AggregateFunction with PartialMerge mode is used to merge aggregation buffers containing intermediate results for this function.