public class IssueTypeStatisticsMapper extends AbstractConstantStatisticsMapper implements SearchRequestAppender.Factory<IssueConstant>
constantsManager
Constructor and Description |
---|
IssueTypeStatisticsMapper(ConstantsManager constantsManager) |
Modifier and Type | Method and Description |
---|---|
Comparator<IssueConstant> |
getComparator()
A comparator that can be used to order objects returned by
LuceneFieldSorter.getValueFromLuceneField(String) . |
protected String |
getConstantType() |
String |
getDocumentConstant()
Get the constant that this field is indexed with.
|
protected String |
getIssueFieldConstant() |
SearchRequestAppender<IssueConstant> |
getSearchRequestAppender() |
equals, getSearchUrlSuffix, getValueFromLuceneField, hashCode, isFieldAlwaysPartOfAnIssue, isValidValue
public IssueTypeStatisticsMapper(ConstantsManager constantsManager)
protected String getConstantType()
getConstantType
in class AbstractConstantStatisticsMapper
protected String getIssueFieldConstant()
getIssueFieldConstant
in class AbstractConstantStatisticsMapper
public String getDocumentConstant()
LuceneFieldSorter
getDocumentConstant
in interface LuceneFieldSorter<IssueConstant>
getDocumentConstant
in class AbstractConstantStatisticsMapper
com.atlassian.jira.issue.index.IssueDocument
,
CustomFieldSearcher
public Comparator<IssueConstant> getComparator()
LuceneFieldSorter
LuceneFieldSorter.getValueFromLuceneField(String)
.
The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.getComparator
in interface LuceneFieldSorter<IssueConstant>
getComparator
in class AbstractConstantStatisticsMapper
public SearchRequestAppender<IssueConstant> getSearchRequestAppender()
getSearchRequestAppender
in interface SearchRequestAppender.Factory<IssueConstant>
Copyright © 2002-2015 Atlassian. All Rights Reserved.