CachingBytesRefMapper
instead. Since v7.5.@Deprecated public class CachingStatisticsMapper extends StatisticsMapperWrapper
getValueFromLuceneField(String)
in an internal
cache.
As the cache is not bounded, this object should not be stored for longer than a request
Constructor and Description |
---|
CachingStatisticsMapper(StatisticsMapper statisticsMapper)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValueFromLuceneField(String documentValue)
Deprecated.
As lookups may be expensive, we cache the String->Object values in a cache
|
getComparator, getDocumentConstant, getSearchUrlSuffix, isFieldAlwaysPartOfAnIssue, isValidValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode
public CachingStatisticsMapper(StatisticsMapper statisticsMapper)
public Object getValueFromLuceneField(String documentValue)
getValueFromLuceneField
in interface LuceneFieldSorter
getValueFromLuceneField
in class StatisticsMapperWrapper
documentValue
- The value of the field in the lucene indexCopyright © 2002-2019 Atlassian. All Rights Reserved.