com.atlassian.jira.issue.search.parameters.lucene.sort
Class MappedSortComparator.InternalFieldComparator

java.lang.Object
  extended by org.apache.lucene.search.FieldComparator
      extended by com.atlassian.jira.issue.search.parameters.lucene.sort.MappedSortComparator.InternalFieldComparator
Enclosing class:
MappedSortComparator

public final class MappedSortComparator.InternalFieldComparator
extends org.apache.lucene.search.FieldComparator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.search.FieldComparator
org.apache.lucene.search.FieldComparator.ByteComparator, org.apache.lucene.search.FieldComparator.DocComparator, org.apache.lucene.search.FieldComparator.DoubleComparator, org.apache.lucene.search.FieldComparator.FloatComparator, org.apache.lucene.search.FieldComparator.IntComparator, org.apache.lucene.search.FieldComparator.LongComparator, org.apache.lucene.search.FieldComparator.RelevanceComparator, org.apache.lucene.search.FieldComparator.ShortComparator, org.apache.lucene.search.FieldComparator.StringComparatorLocale, org.apache.lucene.search.FieldComparator.StringOrdValComparator, org.apache.lucene.search.FieldComparator.StringValComparator
 
Method Summary
 int compare(int slot1, int slot2)
           
 int compareBottom(int doc)
           
 void copy(int slot, int doc)
           
 void setBottom(int bottom)
           
 void setNextReader(org.apache.lucene.index.IndexReader reader, int docBase)
           
 Comparable<?> value(int slot)
           
 
Methods inherited from class org.apache.lucene.search.FieldComparator
binarySearch, binarySearch, compareValues, setScorer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

compare

public int compare(int slot1,
                   int slot2)
Specified by:
compare in class org.apache.lucene.search.FieldComparator

compareBottom

public int compareBottom(int doc)
Specified by:
compareBottom in class org.apache.lucene.search.FieldComparator

copy

public void copy(int slot,
                 int doc)
Specified by:
copy in class org.apache.lucene.search.FieldComparator

setNextReader

public void setNextReader(org.apache.lucene.index.IndexReader reader,
                          int docBase)
                   throws IOException
Specified by:
setNextReader in class org.apache.lucene.search.FieldComparator
Throws:
IOException

setBottom

public void setBottom(int bottom)
Specified by:
setBottom in class org.apache.lucene.search.FieldComparator

value

public Comparable<?> value(int slot)
Specified by:
value in class org.apache.lucene.search.FieldComparator


Copyright © 2002-2014 Atlassian. All Rights Reserved.