public class

ProjectSelectStatisticsMapper

extends AbstractCustomFieldStatisticsMapper
implements SearchRequestAppender.Factory<T>
java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.statistics.AbstractCustomFieldStatisticsMapper
     ↳ com.atlassian.jira.issue.customfields.statistics.ProjectSelectStatisticsMapper

Class Overview

A statistics mapper for project select custom fields.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.issue.customfields.statistics.AbstractCustomFieldStatisticsMapper
Public Constructors
ProjectSelectStatisticsMapper(CustomField customField, ProjectManager projectManager)
Public Methods
Comparator getComparator()
A comparator that can be used to order objects returned by getValueFromLuceneField(String).
SearchRequestAppender getSearchRequestAppender()
Project getValueFromLuceneField(String documentValue)
Protected Methods
String getSearchValue(Object value)
String value to be passed to the search request to construct a new request URL
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.customfields.statistics.AbstractCustomFieldStatisticsMapper
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

Public Constructors

public ProjectSelectStatisticsMapper (CustomField customField, ProjectManager projectManager)

Public Methods

public Comparator getComparator ()

A comparator that can be used to order objects returned by getValueFromLuceneField(String).

The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.

public SearchRequestAppender getSearchRequestAppender ()

public Project getValueFromLuceneField (String documentValue)

Protected Methods

protected String getSearchValue (Object value)

String value to be passed to the search request to construct a new request URL

Parameters
value returned from getValueFromLuceneField(String)
Returns
  • String