Class IssueKeyStatisticsMapper
java.lang.Object
com.atlassian.jira.issue.statistics.IssueKeyStatisticsMapper
- All Implemented Interfaces:
FieldValueLoader<Object>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAPPER
-
-
Constructor Details
-
IssueKeyStatisticsMapper
public IssueKeyStatisticsMapper()
-
-
Method Details
-
field
Description copied from interface:FieldValueLoader
Get the field name that this field is indexed with.- Specified by:
field
in interfaceFieldValueLoader<Object>
-
loadValue
Description copied from interface:FieldValueLoader
Convert the document field back to the object that you wish to use to display it.e.g. '1000' -> Version 1.
For custom fields, the return value will be passed to
CustomFieldSearcherModuleDescriptor.getStatHtml(com.atlassian.jira.issue.fields.CustomField, Object, String)
- Specified by:
loadValue
in interfaceFieldValueLoader<Object>
- Parameters:
documentValue
- The value of the field in the index or null if no values exist- Returns:
- The value that will be passed to the display
-
getComparator
Description copied from interface:FieldValueLoader
A comparator by which the resulting values should be ordered when multiple values are present.The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.
- Specified by:
getComparator
in interfaceFieldValueLoader<Object>
-
hashCode
public int hashCode() -
equals
-