Class ColumnStatisticsExtractorFactory.IssueCountExcludingSubTasksExtractor
java.lang.Object
com.atlassian.greenhopper.service.issue.statistics.ColumnStatisticsExtractorFactory.IssueCountExcludingSubTasksExtractor
- All Implemented Interfaces:
StatisticExtractor
- Enclosing class:
- ColumnStatisticsExtractorFactory
public static class ColumnStatisticsExtractorFactory.IssueCountExcludingSubTasksExtractor
extends Object
implements StatisticExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the set of fields that need to be loaded from the index to extract the statistic value.doublegetStatisticsValue(com.atlassian.jira.search.Document document) Extracts the statistic value from the given document.
-
Constructor Details
-
IssueCountExcludingSubTasksExtractor
-
-
Method Details
-
getFieldsToLoad
Description copied from interface:StatisticExtractorReturns the set of fields that need to be loaded from the index to extract the statistic value.- Specified by:
getFieldsToLoadin interfaceStatisticExtractor- Returns:
- a set of field names
-
getStatisticsValue
public double getStatisticsValue(com.atlassian.jira.search.Document document) Description copied from interface:StatisticExtractorExtracts the statistic value from the given document.- Specified by:
getStatisticsValuein interfaceStatisticExtractor- Parameters:
document- the document to extract the value from- Returns:
- the extracted statistic value
-