Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
Float64Average Class Reference
List of all members.
Calculates an average for values of any numberic type extracted from a set of entries in a Map.
All the extracted Number objects will be treated as
float64_t values. If the set of entries is empty, a
NULL result is returned.
- djl 2008.05.09
typedef spec::Handle ||Handle|
| ||Float64Average Handle definition. |
typedef spec::View ||View|
| ||Float64Average View definition. |
typedef spec::Holder ||Holder|
| ||Float64Average Holder definition. |
Protected Member Functions
| ||Default constructor (necessary for the PortableObject interface). |
| ||Float64Average (ValueExtractor::View vExtractor)|
| ||Construct a Float64Average aggregator. |
| ||Float64Average (String::View vsMethod)|
| ||Construct an Float64Average that will aggregate values extracted from a set of InvocableMap::Entry objects. |
virtual void ||init (bool fFinal)|
| ||Initialize the aggregation result.|
|fFinal ||true is passed if the aggregation process that is being initialized must produce a final aggregation result; this will only be false if a parallel approach is being used and the initial (partial) aggregation process is being initialized|
virtual void ||process (Object::View v, bool fFinal)|
| ||Incorporate one aggregatable value into the result.|
fFinal parameter is true, the given object is a partial result (returned by an individual parallel aggregator) that should be incorporated into the final result; otherwise, the object is a value extracted from an coherence::util::InvocableMap::Entry.
|vO ||the value to incorporate into the aggregated result |
|fFinal ||true to indicate that the given object is a partial result returned by a parallel aggregator|
virtual Object::Holder ||finalizeResult (bool fFinal)|
| ||Obtain the result of the aggregation.|
fFinal parameter is true, the returned object must be the final result of the aggregation; otherwise, the returned object will be treated as a partial result that should be incorporated into the final result.
|fFinal ||true to indicate that the final result of the aggregation process should be returned; this will only be false if a parallel approach is being used|
- the result of the aggregation process
Constructor & Destructor Documentation
Construct an Float64Average 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|
- Coherence 12.1.2
The documentation for this class was generated from the following file:
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.