#include <coherence/util/InvocableMap.hpp>
Inherits Object.
Inherited by CompositeAggregator [virtual], GroupAggregator [virtual], and InvocableMap::ParallelAwareAggregator [virtual].
Common examples of aggregation include functions such as min(), max() and avg(). However, the concept of aggregation applies to any process that needs to evaluate a group of entries to come up with a single answer.
Public Types |
|
| typedef spec::Handle | Handle |
| EntryAggregator Handle definition. |
|
| typedef spec::View | View |
| EntryAggregator View definition. |
|
| typedef spec::Holder | Holder |
| EntryAggregator Holder definition. |
|
Public Member Functions |
|
| virtual Object::Holder | aggregate (Set::View vSetEntries)=0 |
| Process a set of InvocableMap::Entry objects in order to produce an aggregated result. |
|
| virtual Object::Holder aggregate | ( | Set::View | vSetEntries | ) | [pure virtual] |
Process a set of InvocableMap::Entry objects in order to produce an aggregated result.
| vSetEntries | a Set of read-only InvocableMap::Entry objects to aggregate |
Implemented in AbstractAggregator, CompositeAggregator, Count, GroupAggregator, and PriorityAggregator.