com.atlassian.confluence.plugins.popularcontent
Class SimpleStatisticsMapper
java.lang.Object
com.atlassian.confluence.plugins.popularcontent.SimpleStatisticsMapper
- All Implemented Interfaces:
- com.atlassian.lucene.stats.LuceneFieldSorter, com.atlassian.lucene.stats.StatisticsMapper
public class SimpleStatisticsMapper
- extends Object
- implements com.atlassian.lucene.stats.StatisticsMapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.lucene.stats.LuceneFieldSorter |
equals, hashCode |
SimpleStatisticsMapper
public SimpleStatisticsMapper(String documentConstant,
Comparator comparator)
isValidValue
public boolean isValidValue(Object value)
- Specified by:
isValidValue
in interface com.atlassian.lucene.stats.StatisticsMapper
getDocumentConstant
public String getDocumentConstant()
- Specified by:
getDocumentConstant
in interface com.atlassian.lucene.stats.LuceneFieldSorter
getValueFromLuceneField
public Object getValueFromLuceneField(String documentValue)
- Specified by:
getValueFromLuceneField
in interface com.atlassian.lucene.stats.LuceneFieldSorter
getComparator
public Comparator getComparator()
- Specified by:
getComparator
in interface com.atlassian.lucene.stats.LuceneFieldSorter
Copyright © 2003-2013 Atlassian. All Rights Reserved.