Class ColumnStatisticsExtractorFactory.IssueCountExtractor

java.lang.Object
com.atlassian.greenhopper.service.issue.statistics.ColumnStatisticsExtractorFactory.IssueCountExtractor
All Implemented Interfaces:
StatisticExtractor
Enclosing class:
ColumnStatisticsExtractorFactory

public static class ColumnStatisticsExtractorFactory.IssueCountExtractor extends Object implements StatisticExtractor
  • Constructor Details

    • IssueCountExtractor

      public IssueCountExtractor()
  • Method Details

    • getFieldsToLoad

      public Set<String> getFieldsToLoad()
      Description copied from interface: StatisticExtractor
      Returns the set of fields that need to be loaded from the index to extract the statistic value.
      Specified by:
      getFieldsToLoad in interface StatisticExtractor
      Returns:
      a set of field names
    • getStatisticsValue

      public double getStatisticsValue(com.atlassian.jira.search.Document document)
      Description copied from interface: StatisticExtractor
      Extracts the statistic value from the given document.
      Specified by:
      getStatisticsValue in interface StatisticExtractor
      Parameters:
      document - the document to extract the value from
      Returns:
      the extracted statistic value