Class AggregateExpression

  • All Implemented Interfaces:
    Expression, ResolvedExpression

    @PublicEvolving
    public class AggregateExpression
    extends Object
    implements ResolvedExpression
    Resolved and validated expression for calling an aggregate function.

    A aggregate call contains:

    • a FunctionDefinition that identifies the function to be called
    • a list of FieldReferenceExpression represents the arguments for aggregate function.
    • a CallExpression represents the filter with the aggregate function.
    • a DataType represents the result data type of aggregate function.
    • distinct indicates whether this is a distinct aggregate function.
    • approximate indicates whether this is a approximate aggregate function.
    • ignoreNulls indicates whether this aggregate function ignore null value.