Represents measure aggregator.
Namespace: NReco.PivotData
Assembly: NReco.PivotData (in NReco.PivotData.dll) Version: 1.4.1
Syntax
The IAggregator type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count |
Number of facts (data records) used for calculating aggregator value
| |
Value |
Current aggregator value
|
Methods
Name | Description | |
---|---|---|
GetState |
Returns an object that represents compacted "raw" aggregator state
| |
Merge |
Modifies current instance of aggregator by merging with specified compatible aggregator
| |
Push |
Modifies aggregator value by processing specified fact (data record)
|
Extension Methods
Name | Description | |
---|---|---|
AsComposite |
Returns the IAggregator as CompositeAggregator instance.
(Defined by AggregatorExtensions.) |
Remarks
- measure calculation (Push method)
- accessing current measure value (Value and Count properties)
- combining 2 measures of the same type (Merge method)
- provide compact measure data for serialization (GetState method)
See Also