Package net.sf.ehcache.search.aggregator
This package contains classes for search aggregator functionality. Aggregators allow
functions to be computed on cache
entries selected by a search
-
Interface Summary Interface Description Aggregator An Aggregator describes a requested aggregation for a query and provides aggregator instances for executionAggregatorInstance<T> An AggregatorInstance takes input objects and computes an aggregate function from them. -
Class Summary Class Description Aggregators Helper class to construct the builtin aggregator types.Average Compute the average (arithmetic mean) as a doubleCount Counts the number of resultsMax<T> Determine the maximum valueMin<T> Determine the minimum valueSum Sums the results -
Exception Summary Exception Description AggregatorException Thrown if an Aggregator cannot complete.