Abstract aggregator that processes numeric values extracted from a set of entries in a Map. All the extracted Number objects will be treated as Java double values and the result of the aggregator is a Double. If the set of entries is empty, a null result is returned.

Hierarchy

Constructors

Properties

Methods

Constructors

  • Construct an AbstractDoubleAggregator that will aggregate numeric values extracted from the cache entries.

    Parameters

    • clz: string

      the server-side EntryAggregator implementation type identifier

    • extractorOrProperty: string | ValueExtractor

      the extractor that provides values to aggregate or the name of the method that could be invoked via Java 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 UniversalExtractor objects

    Returns AbstractDoubleAggregator

Properties

@class: string

Server-side EntryAggregator implementation type identifier.

extractor?: ValueExtractor

The ValueExtractor to apply when aggregating results.

Methods