Interface TwoDimensionalAggregator
- All Known Implementing Classes:
TwoDimensionalSearchApiAggregator
@Internal
public interface TwoDimensionalAggregator
Aggregator for the two-dimensional statistics.
- Since:
- 10.7
-
Method Summary
Modifier and TypeMethodDescriptionaggregate(StatisticsMapper xAxisMapper, StatisticsMapper yAxisMapper, SearchRequest searchRequest, ApplicationUser searcher) Aggregate using the provided search request for the given user.
-
Method Details
-
aggregate
TwoDimensionalStatistics aggregate(StatisticsMapper xAxisMapper, StatisticsMapper yAxisMapper, SearchRequest searchRequest, ApplicationUser searcher) throws SearchException Aggregate using the provided search request for the given user. Uses theStatisticsMapperto load the values.- Parameters:
xAxisMapper-StatisticsMapperfor the x axisyAxisMapper-StatisticsMapperfor the y axissearchRequest-SearchRequestto use for the searchsearcher-ApplicationUserto use for the search- Returns:
- the aggregated
TwoDimensionalStatistics - Throws:
SearchException- if there is a problem executing the search
-