#include <coherence/util/aggregator/AbstractInteger64Aggregator.hpp>
Inherits AbstractAggregator.
Inherited by Integer64Max, Integer64Min, and Integer64Sum.
All the extracted Number objects will be treated as int64_t
values and the result of the aggregator is a Integer64. If the set of entries is empty, a NULL
result is returned.
Public Types | ||||
typedef spec::Handle | Handle | |||
AbstractInteger64Aggregator Handle definition. | ||||
typedef spec::View | View | |||
AbstractInteger64Aggregator View definition. | ||||
typedef spec::Holder | Holder | |||
AbstractInteger64Aggregator Holder definition. | ||||
Protected Member Functions | ||||
AbstractInteger64Aggregator (String::View vsMethod) | ||||
Construct an AbstractInteger64Aggregator 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 Object::Holder | finalizeResult (bool fFinal) | |||
Obtain the result of the aggregation.
If the This implementation throws an UnsupportedOperationException.
| ||||
Protected Attributes | ||||
int32_t | m_count | |||
The count of processed entries. | ||||
int64_t | m_lResult | |||
The running result value. |
AbstractInteger64Aggregator | ( | String::View | vsMethod | ) | [protected] |
Construct an AbstractInteger64Aggregator 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 |