Class AggregatorMapper
Aggregator mapper interface generates a set of intermediate key-value pairs for further refining and extraction of the data.
Inheritance
System.Object
AggregatorMapper
Namespace:
Assembly: Alachisoft.NCache.Web.dll
Syntax
[Serializable]
public class AggregatorMapper : IMapper, IDisposable
Constructors
AggregatorMapper(IValueExtractor)
Construtor to initialize instance of class.
Declaration
public AggregatorMapper(IValueExtractor valueExtractor)
Parameters
Type | Name | Description |
---|---|---|
IValueExtractor | valueExtractor | instance of IValue Extractor |
Methods
Dispose()
Declaration
public void Dispose()
Map(Object, Object, IOutputMap)
For every key-value pair input, Map method is executed, to get a more specific and meaningful data.
Declaration
public void Map(object key, object value, IOutputMap context)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key value of cache Entry. |
System.Object | value | Value for the key |
IOutputMap | context | Emitted output value for each key-value pair |