Interface IAggregator
This interface provides implementaion to perform actual calculations on any data type and can perform different operations.
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Obsolete("This feature is not in active development and may be removed in a future update.")]
public interface IAggregator
Methods
Name | Description |
---|---|
Aggregate(Object) | This method takes in an object and contains the logic of applying the aggregation operation on the same node (locally) just like with the Combiner. If you wish to combine values using an aggregator before being sent for further processing in the Reducer, you can use the Aggregate() call. |
AggregateAll(Object) | This method takes in an object and contains the logic of applying the aggregation operation in the Reduce Phase. If you wish to combine values using an aggregator, you can use the AggregateAll() call. |