public class SimpleStatisticsMapper extends Object implements com.atlassian.lucene.stats.StatisticsMapper
| Constructor and Description |
|---|
SimpleStatisticsMapper(String documentConstant,
Comparator comparator) |
| Modifier and Type | Method and Description |
|---|---|
Comparator |
getComparator() |
String |
getDocumentConstant() |
Object |
getValueFromLuceneField(String documentValue) |
boolean |
isValidValue(Object value) |
public SimpleStatisticsMapper(String documentConstant, Comparator comparator)
public boolean isValidValue(Object value)
isValidValue in interface com.atlassian.lucene.stats.StatisticsMapperpublic String getDocumentConstant()
getDocumentConstant in interface com.atlassian.lucene.stats.LuceneFieldSorterpublic Object getValueFromLuceneField(String documentValue)
getValueFromLuceneField in interface com.atlassian.lucene.stats.LuceneFieldSorterpublic Comparator getComparator()
getComparator in interface com.atlassian.lucene.stats.LuceneFieldSorterCopyright © 2003–2015 Atlassian. All rights reserved.