|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@PublicSpi public interface StatisticsMapper<T>
Allow mapping from Lucene indexes, back to the fields that they came from.
Any 'field' that implements this is capable of having a statistic calculated from it.
FilterStatisticsValuesGenerator| Method Summary | |
|---|---|
SearchRequest |
getSearchUrlSuffix(T value,
SearchRequest searchRequest)
Get a suffix for the issue navigator, which allows for filtering on this value. |
boolean |
isFieldAlwaysPartOfAnIssue()
Check if the field is always part of an issues data. |
boolean |
isValidValue(T value)
Check whether this value is valid for this particular search. |
| Methods inherited from interface com.atlassian.jira.issue.search.LuceneFieldSorter |
|---|
equals, getComparator, getDocumentConstant, getValueFromLuceneField, hashCode |
| Method Detail |
|---|
boolean isValidValue(T value)
value - This is the same value that will be returned from LuceneFieldSorter.getValueFromLuceneField(String)
boolean isFieldAlwaysPartOfAnIssue()
SearchRequest getSearchUrlSuffix(T value,
SearchRequest searchRequest)
pid=10240
Note that values returned from implementations should return values that are URLEncoded.
value - This is the same value that will be returned from LuceneFieldSorter.getValueFromLuceneField(String)searchRequest - is the search request that should be used as the base of the newly generated
SearchRequest object. If this parameter is null then the return type will also be null.
URLEncoder.encode(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||