com.atlassian.greenhopper.customfield.rank
Class RankLuceneFieldSorter

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.customfield.rank.RankLuceneFieldSorter
All Implemented Interfaces:
com.atlassian.jira.issue.search.LuceneFieldSorter<long[]>

public class RankLuceneFieldSorter
extends AbstractLoggable
implements com.atlassian.jira.issue.search.LuceneFieldSorter<long[]>


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
RankLuceneFieldSorter(RankIndexService rankService, com.atlassian.jira.issue.fields.CustomField customField)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Comparator<long[]> getComparator()
           
 java.lang.String getDocumentConstant()
           
 long[] getValueFromLuceneField(java.lang.String value)
           
 int hashCode()
           
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RankLuceneFieldSorter

public RankLuceneFieldSorter(RankIndexService rankService,
                             com.atlassian.jira.issue.fields.CustomField customField)
Method Detail

getDocumentConstant

public java.lang.String getDocumentConstant()
Specified by:
getDocumentConstant in interface com.atlassian.jira.issue.search.LuceneFieldSorter<long[]>

getValueFromLuceneField

public long[] getValueFromLuceneField(java.lang.String value)
Specified by:
getValueFromLuceneField in interface com.atlassian.jira.issue.search.LuceneFieldSorter<long[]>

getComparator

public java.util.Comparator<long[]> getComparator()
Specified by:
getComparator in interface com.atlassian.jira.issue.search.LuceneFieldSorter<long[]>

hashCode

public int hashCode()
Specified by:
hashCode in interface com.atlassian.jira.issue.search.LuceneFieldSorter<long[]>
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface com.atlassian.jira.issue.search.LuceneFieldSorter<long[]>
Overrides:
equals in class java.lang.Object


Copyright © 2007-2012 Atlassian. All Rights Reserved.