Class AggregatorReducer
Apply aggregation and compilation on final result.
Inheritance
System.Object
AggregatorReducer
Namespace:
Assembly: Alachisoft.NCache.Web.dll
Syntax
[Serializable]
public class AggregatorReducer : IReducer, IDisposable
AggregatorReducer(Object, IAggregator, Type)
Constructor to initialize instance of class.
Declaration
public AggregatorReducer(object key, IAggregator aggregator, Type classType)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | key value |
IAggregator | aggregator | IAggregator instance |
System.Type | classType | Class data type. |
BeginReduce()
Statritng point for initialization of reducer.
Declaration
public void BeginReduce()
Implements
Dispose()
Declaration
public void Dispose()
FinishReduce()
Provides final result of map reduce task.
Declaration
public KeyValuePair FinishReduce()
Returns
Type | Description |
---|---|
KeyValuePair | Return key-value pair. |
Implements
Reduce(Object)
Reduces the key-value pair to further meaning full pairs.
Declaration
public void Reduce(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value for the specified key. |