Skip to main content

Module aggregation

Module aggregation 

Source
Expand description

The aggregations of DynamicData (DynamicData/Aggregation): change sets shaped for continuous aggregations (ForAggregation, IAggregateChangeSet, AggregateItem) and the running aggregates of caches and lists: the average (avg), the count and whether there are items (count_cache, is_empty_cache, is_not_empty, …), the maximum and minimum, the sample standard deviation (std_dev) and the sum (sum_cache, sum_list).

The operators are methods of AggregationCacheEx, AggregationListEx, AggregateChangeSetEx and InvalidateWhenEx (upstream’s namespace is imported on its own, as these traits are).

Structs§

AggregateItem
An item that is added to or removed from a continuous aggregation (AggregateItem<TObject>).

Enums§

AggregateType
Whether an item enters or leaves an aggregation (AggregateType).

Traits§

AggregateChangeSetEx
The aggregations of aggregate change sets (the overloads of AvgEx, CountEx, StdDevEx and SumEx on IObservable<IAggregateChangeSet<T>>), to which the forms of caches and lists forward.
AggregateNumber
A number that the aggregations add up and average (int, long, float, double).
AggregateValue
The value a selector of Sum or Avg returns: a number, or an Option of a number whose None counts as zero (the nullable overloads, valueSelector(t).GetValueOrDefault()).
AggregationCacheEx
The aggregations of caches (the overloads of AggregationEx, AvgEx, CountEx, MaxEx, StdDevEx and SumEx on IObservable<IChangeSet<TObject, TKey>>).
AggregationListEx
The aggregations of lists (the overloads of AggregationEx, AvgEx, CountEx, MaxEx, StdDevEx and SumEx on IObservable<IChangeSet<T>>).
IAggregateChangeSet
A change set shaped for fast continuous aggregations: the items added and removed, in order (IAggregateChangeSet<T>, an IEnumerable<AggregateItem<T>>).
InvalidateWhenEx
The invalidation of an aggregating sequence (InvalidateWhen), for every sequence.
StdDevValue
A value whose standard deviation the aggregations compute (int, long, float, double).

Type Aliases§

AggregateChangeSets
A sequence of aggregate change sets (IObservable<IAggregateChangeSet<T>>).