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 java.lang.Object
- implements com.atlassian.lucene.stats.StatisticsMapper
Constructor Summary |
SimpleStatisticsMapper(java.lang.String documentConstant,
java.util.Comparator comparator)
|
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(java.lang.String documentConstant,
java.util.Comparator comparator)
isValidValue
public boolean isValidValue(java.lang.Object value)
- Specified by:
isValidValue
in interface com.atlassian.lucene.stats.StatisticsMapper
getDocumentConstant
public java.lang.String getDocumentConstant()
- Specified by:
getDocumentConstant
in interface com.atlassian.lucene.stats.LuceneFieldSorter
getValueFromLuceneField
public java.lang.Object getValueFromLuceneField(java.lang.String documentValue)
- Specified by:
getValueFromLuceneField
in interface com.atlassian.lucene.stats.LuceneFieldSorter
getComparator
public java.util.Comparator getComparator()
- Specified by:
getComparator
in interface com.atlassian.lucene.stats.LuceneFieldSorter
Copyright © 2003-2013 Atlassian. All Rights Reserved.