java.lang.Object | |
↳ | com.atlassian.jira.issue.statistics.DatePeriodStatisticsMapper |
A StatsMapper that takes the document constant name (lucene) and a JFreeChart TimePeriod class, and rounds the dates to the appropriate time period
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new DatePeriodStatisticsMapper using the given time zone.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A comparator that can be used to order objects returned by
getValueFromLuceneField(String) . | |||||||||||
Get the constant that this field is indexed with.
| |||||||||||
This method is deprecated.
Use #getSearchRequestAppender().appendInclusiveSingleValueClause()
| |||||||||||
Convert the lucene document field back to the object that you wish to use to display it.
| |||||||||||
Check if the field is always part of an issues data.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||||
From interface
com.atlassian.jira.issue.search.LuceneFieldSorter
| |||||||||||||||||||||
From interface com.atlassian.jira.issue.search.SearchRequestAppender.Factory | |||||||||||||||||||||
From interface
com.atlassian.jira.issue.statistics.StatisticsMapper
|
Creates a new DatePeriodStatisticsMapper using the given time zone.
A comparator that can be used to order objects returned by getValueFromLuceneField(String)
.
This method is deprecated.
Use #getSearchRequestAppender().appendInclusiveSingleValueClause()
Convert the lucene document field back to the object that you wish to use to display it.
eg. '1000' -> Version 1.
This does the reverse of what IssueDocument
does.
For custom fields, the return value will be passed to
getStatHtml(com.atlassian.jira.issue.fields.CustomField, Object, String)
documentValue | The value of the field in the lucene index |
---|
Check if the field is always part of an issues data. This should only return false in the case of a custom field where the value does not have to be set for each issue.