com.atlassian.jira.issue.statistics
Class IssueTypeStatisticsMapper
java.lang.Object
com.atlassian.jira.issue.statistics.AbstractConstantStatisticsMapper
com.atlassian.jira.issue.statistics.IssueTypeStatisticsMapper
- All Implemented Interfaces:
- LuceneFieldSorter<IssueConstant>, SearchRequestAppender.Factory<IssueConstant>, StatisticsMapper<IssueConstant>
public class IssueTypeStatisticsMapper
- extends AbstractConstantStatisticsMapper
- implements SearchRequestAppender.Factory<IssueConstant>
IssueTypeStatisticsMapper
public IssueTypeStatisticsMapper(ConstantsManager constantsManager)
getConstantType
protected String getConstantType()
- Specified by:
getConstantType
in class AbstractConstantStatisticsMapper
getIssueFieldConstant
protected String getIssueFieldConstant()
- Specified by:
getIssueFieldConstant
in class AbstractConstantStatisticsMapper
getDocumentConstant
public String getDocumentConstant()
- Description copied from interface:
LuceneFieldSorter
- Get the constant that this field is indexed with.
- Specified by:
getDocumentConstant
in interface LuceneFieldSorter<IssueConstant>
- Specified by:
getDocumentConstant
in class AbstractConstantStatisticsMapper
- See Also:
com.atlassian.jira.issue.index.IssueDocument
,
CustomFieldSearcher
getComparator
public Comparator<IssueConstant> getComparator()
- Description copied from interface:
LuceneFieldSorter
- A comparator that can be used to order objects returned by
LuceneFieldSorter.getValueFromLuceneField(String)
.
The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.
- Specified by:
getComparator
in interface LuceneFieldSorter<IssueConstant>
- Overrides:
getComparator
in class AbstractConstantStatisticsMapper
getSearchRequestAppender
public SearchRequestAppender<IssueConstant> getSearchRequestAppender()
- Specified by:
getSearchRequestAppender
in interface SearchRequestAppender.Factory<IssueConstant>
- Since:
- v6.0
Copyright © 2002-2014 Atlassian. All Rights Reserved.