Class StatisticsServiceImpl
java.lang.Object
com.atlassian.jira.dashboarditem.statistics.service.statistics.StatisticsServiceImpl
- All Implemented Interfaces:
StatisticsService
- Since:
- v6.4
-
Constructor Summary
ConstructorsConstructorDescriptionStatisticsServiceImpl(JiraAuthenticationContext authenticationContext, SearchRequestService searchRequestService, StatisticsSearcher statisticsSearcher, StatisticTypesProvider statisticTypesProvider, QueryParser queryParser, ProjectOrFilterQueryParser projectOrFilterQueryParser) -
Method Summary
Modifier and TypeMethodDescriptionio.atlassian.fugue.Either<OneDimensionalStatisticsResultBean,ErrorCollection> aggregateOneDimensionalStats(String jql, Long filterId, String statType) Generates statistics for a given search grouped by a statistic type
-
Constructor Details
-
StatisticsServiceImpl
@Autowired public StatisticsServiceImpl(JiraAuthenticationContext authenticationContext, SearchRequestService searchRequestService, StatisticsSearcher statisticsSearcher, StatisticTypesProvider statisticTypesProvider, QueryParser queryParser, ProjectOrFilterQueryParser projectOrFilterQueryParser)
-
-
Method Details
-
aggregateOneDimensionalStats
public io.atlassian.fugue.Either<OneDimensionalStatisticsResultBean,ErrorCollection> aggregateOneDimensionalStats(String jql, Long filterId, @Nonnull String statType) Description copied from interface:StatisticsServiceGenerates statistics for a given search grouped by a statistic type- Specified by:
aggregateOneDimensionalStatsin interfaceStatisticsService- Parameters:
jql- to searchfilterId- saved filter to search forstatType- to group by @return Either error if search was invalid or a set of results
-