the type of the Map entry keys
the type of the Map entry values
extracted value type
Construct a new ReducerAggregator
.
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
The
ReducerAggregator
is used to implement functionality similar to NamedMap getAll() API. Instead of returning the complete set of values, it will return a portion of value attributes based on the provided ValueExtractor.This aggregator could be used in combination with MultiExtractor allowing one to collect tuples that are a subset of the attributes of each object stored in the cache.