List of all members.
Instead of returning the complete set of values, it will return a portion of value attributes based on the provided
This aggregator could be used in combination with
coherence.util.extractor.MultiExtractor allowing one to collect tuples that are a subset of the attributes of each object stored in the cache.
|ReducerAggregator Handle definition. |
|ReducerAggregator View definition. |
|ReducerAggregator Holder definition. |
Protected Member Functions
|Default constructor. |
|ReducerAggregator (ValueExtractor::View vExtractor)|
|Construct a ReducerAggregator based on the specified extractor. |
|ReducerAggregator (String::View vsMethod)|
|Construct a ReducerAggregator based on the specified method name. |
|virtual void||init (bool fFinal)|
|Initialize the aggregation result.|
|virtual void||process (Object::View vO, bool fFinal)|
|Incorporate one aggregatable value into the result.|
|virtual Object::Holder||finalizeResult (bool fFinal)|
|Obtain the result of the aggregation.|
|virtual Map::Handle||ensureMap ()|
|Return a map that can be used to store reduced values, creating it if one has not already been created. |
Construct a ReducerAggregator based on the specified method name.
|vsMethod||the name of the method that is used to extract the portion of the cached value|
|virtual Map::Handle ensureMap||(||)||
Return a map that can be used to store reduced values, creating it if one has not already been created.