Class BuiltInAggregator.ShortAggregator
Implements built in ShortInteger type aggregator.
Inheritance
System.Object
BuiltInAggregator.ShortAggregator
Namespace:
Assembly: Alachisoft.NCache.Web.dll
Syntax
[Serializable]
public class ShortAggregator : IAggregator
ShortAggregator(AggregateFunctionType)
Declaration
public ShortAggregator(AggregateFunctionType type)
Parameters
Type | Name | Description |
---|---|---|
Alachisoft.NCache.Common.Enum.AggregateFunctionType | type |
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. |