#include <coherence/util/aggregator/Integer64Sum.hpp>
Inherits AbstractInteger64Aggregator.
All the extracted Number objects will be treated as int64_t
values.
Public Types | |||||||
typedef spec::Handle | Handle | ||||||
Integer64Sum Handle definition. | |||||||
typedef spec::View | View | ||||||
Integer64Sum View definition. | |||||||
typedef spec::Holder | Holder | ||||||
Integer64Sum Holder definition. | |||||||
Protected Member Functions | |||||||
Integer64Sum () | |||||||
Default constructor (necessary for the PortableObject interface). | |||||||
Integer64Sum (ValueExtractor::View vExtractor) | |||||||
Construct a Integer64Sum aggregator. | |||||||
Integer64Sum (String::View vsMethod) | |||||||
Construct an Integer64Sum that will aggregate values extracted from a set of InvocableMap::Entry objects. | |||||||
virtual void | init (bool fFinal) | ||||||
Initialize the aggregation result. This implementation throws an UnsupportedOperationException.
| |||||||
virtual void | process (Object::View v, bool fFinal) | ||||||
Incorporate one aggregatable value into the result.
If the This implementation throws an UnsupportedOperationException.
|
Integer64Sum | ( | ValueExtractor::View | vExtractor | ) | [protected] |
Construct a Integer64Sum aggregator.
vExtractor | the extractor that provides a value in the form of any object that is a Number |
Integer64Sum | ( | String::View | vsMethod | ) | [protected] |
Construct an Integer64Sum that will aggregate values extracted from a set of InvocableMap::Entry objects.
vsMethod | the name of the method that could be invoked via reflection and that returns values to aggregate; this parameter can also be a dot-delimited sequence of method names which would result in an aggregator based on the ChainedExtractor that is based on an array of corresponding ReflectionExtractor objects |