FdcDataSetAggregatesApi class final
Public aggregate facade for FdcDataSet.
Keeps aggregate calculations out of the dataset root API while preserving short, explicit aggregate method names inside the aggregate namespace.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
avg(
String fieldName) → FdcDecimal? - Calculates the average for a numeric field over the current flat dataset view.
-
calculate(
List< FdcDataAggregateItem> aggregates) → Future<FdcDataAggregateResult> - Calculates adapter/query aggregates for the current logical dataset result.
-
count(
) → int - Counts records in the current flat dataset view.
-
max(
String fieldName) → Object? -
Returns the maximum non-null field value over the current flat dataset
view, or
nullwhen no value is available. -
min(
String fieldName) → Object? -
Returns the minimum non-null field value over the current flat dataset
view, or
nullwhen no value is available. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sum(
String fieldName) → FdcDecimal - Sums a numeric field over the current flat dataset view.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited