org.elasticsearch.index.field.data.ints
Class IntFieldDataComparator
java.lang.Object
org.apache.lucene.search.FieldComparator
org.elasticsearch.index.field.data.support.NumericFieldDataComparator
org.elasticsearch.index.field.data.ints.IntFieldDataComparator
public class IntFieldDataComparator
- extends NumericFieldDataComparator
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 |
Methods inherited from class org.apache.lucene.search.FieldComparator |
binarySearch, binarySearch, setScorer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntFieldDataComparator
public IntFieldDataComparator(int numHits,
java.lang.String fieldName,
FieldDataCache fieldDataCache)
fieldDataType
public FieldDataType fieldDataType()
- Specified by:
fieldDataType
in class NumericFieldDataComparator
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
setBottom
public void setBottom(int bottom)
- Specified by:
setBottom
in class org.apache.lucene.search.FieldComparator
value
public java.lang.Comparable value(int slot)
- Specified by:
value
in class org.apache.lucene.search.FieldComparator