public class CustomFieldLabelsStatisticsMapper extends LabelsStatisticsMapper implements SearchRequestAppender.Factory
Constructor and Description |
---|
CustomFieldLabelsStatisticsMapper(CustomField customField,
CustomFieldInputHelper customFieldInputHelper,
JiraAuthenticationContext authenticationContext,
boolean includeEmpty) |
Modifier and Type | Method and Description |
---|---|
protected String |
getClauseName() |
SearchRequestAppender |
getSearchRequestAppender() |
SearchRequest |
getSearchUrlSuffix(Object value,
SearchRequest searchRequest)
Deprecated.
Use #getSearchRequestAppender().appendInclusiveSingleValueClause()
|
getComparator, getDocumentConstant, getValueFromLuceneField, isFieldAlwaysPartOfAnIssue, isValidValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode
public CustomFieldLabelsStatisticsMapper(CustomField customField, CustomFieldInputHelper customFieldInputHelper, JiraAuthenticationContext authenticationContext, boolean includeEmpty)
protected String getClauseName()
getClauseName
in class LabelsStatisticsMapper
@Deprecated public SearchRequest getSearchUrlSuffix(Object value, SearchRequest searchRequest)
StatisticsMapper
eg. a project field would return a SearchRequest object who's getQueryString method will produce
pid=10240
Note that values returned from implementations should return values that are URLEncoded.
getSearchUrlSuffix
in interface StatisticsMapper
getSearchUrlSuffix
in class LabelsStatisticsMapper
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)
public SearchRequestAppender getSearchRequestAppender()
getSearchRequestAppender
in interface SearchRequestAppender.Factory
getSearchRequestAppender
in class LabelsStatisticsMapper
Copyright © 2002-2019 Atlassian. All Rights Reserved.