Construct an AbstractComparableAggregator that will aggregate numeric values extracted from the cache entries.
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
Protected
@classServer-side EntryAggregator implementation type identifier.
Protected
Optional
extractorThe ValueExtractor to apply when aggregating results.
Returns a CompositeAggregator comprised of this and the provided aggregator.
a CompositeAggregator comprised of this and the provided aggregator
the next aggregator
Return the set of unique values extracted from a set of entries in a Map. If the set of entries is empty, an empty array is returned.
This aggregator could be used in combination with UniversalExtractor allowing to collect all unique combinations (tuples) of a given set of attributes.
The DistinctValues aggregator covers a simple case of a more generic aggregation pattern implemented by the
GroupAggregator
, which in addition to collecting all distinct values or tuples, runs an aggregation against each distinct entry set (group).