AggregateExpr class
An aggregate call: SUM(x), COUNT(x), AVG(x),
MIN(x), MAX(x). The function is one of
"SUM", "COUNT", "AVG", "MIN", "MAX".
distinct emits DISTINCT (COUNT(DISTINCT x)).
- Inheritance
- Available extensions
Constructors
- AggregateExpr(String function, Expr selector, {bool distinct = false})
-
const
Properties
Methods
-
accept<
R> (ExprVisitor< R> v) → R -
External visitor for providers (SQL translator, codegen emitter, …).
override
-
eval(
Map< String, Object?> ctx) → Object? -
In-memory evaluation against a context.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited