Class BuiltInAggregator.IntegerAggregator
Implements built in Integer type aggregator.
Inheritance
System.Object
BuiltInAggregator.IntegerAggregator
Namespace:
Assembly: Alachisoft.NCache.Web.dll
Syntax
[Serializable]
public class IntegerAggregator : IAggregator
Constructors
IntegerAggregator(AggregateFunctionType)
Declaration
public IntegerAggregator(AggregateFunctionType type)
Parameters
Type | Name | Description |
---|---|---|
Alachisoft.NCache.Common.Enum.AggregateFunctionType | type |
Methods
Aggregate(Object)
Performs given logic of aggregate on local node like combiner.
Declaration
public object Aggregate(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | object |
Returns
Type | Description |
---|---|
System.Object | Retuns aggregated result. |
Implements
AggregateAll(Object)
Performs given logic of aggregate on all server nodes like Reduce phase operation.
Declaration
public object AggregateAll(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | object |
Returns
Type | Description |
---|---|
System.Object | Retuns aggregated result. |