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.StatisticsMapper
public String getDocumentConstant()
getDocumentConstant
in interface com.atlassian.lucene.stats.LuceneFieldSorter
public Object getValueFromLuceneField(String documentValue)
getValueFromLuceneField
in interface com.atlassian.lucene.stats.LuceneFieldSorter
public Comparator getComparator()
getComparator
in interface com.atlassian.lucene.stats.LuceneFieldSorter
Copyright © 2003–2016 Atlassian. All rights reserved.