Module org.elasticsearch.server
Class HalfFloatComparator.HalfFloatLeafComparator
java.lang.Object
org.apache.lucene.search.comparators.NumericComparator<Float>.org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
org.elasticsearch.index.fielddata.fieldcomparator.HalfFloatComparator.HalfFloatLeafComparator
- All Implemented Interfaces:
org.apache.lucene.search.LeafFieldComparator
- Enclosing class:
HalfFloatComparator
public class HalfFloatComparator.HalfFloatLeafComparator
extends org.apache.lucene.search.comparators.NumericComparator<Float>.org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
Leaf comparator for
HalfFloatComparator that provides skipping functionality-
Field Summary
Fields inherited from class org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
docValues -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longintcompareBottom(int doc) intcompareTop(int doc) voidcopy(int slot, int doc) voidsetBottom(int slot) protected longMethods inherited from class org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
competitiveIterator, getNumericDocValues, setHitsThresholdReached, setScorer
-
Constructor Details
-
HalfFloatLeafComparator
public HalfFloatLeafComparator(org.apache.lucene.index.LeafReaderContext context) throws IOException - Throws:
IOException
-
-
Method Details
-
setBottom
- Specified by:
setBottomin interfaceorg.apache.lucene.search.LeafFieldComparator- Overrides:
setBottomin classorg.apache.lucene.search.comparators.NumericComparator<Float>.org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator- Throws:
IOException
-
compareBottom
- Throws:
IOException
-
compareTop
- Throws:
IOException
-
copy
- Specified by:
copyin interfaceorg.apache.lucene.search.LeafFieldComparator- Overrides:
copyin classorg.apache.lucene.search.comparators.NumericComparator<Float>.org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator- Throws:
IOException
-
bottomAsComparableLong
protected long bottomAsComparableLong()- Specified by:
bottomAsComparableLongin classorg.apache.lucene.search.comparators.NumericComparator<Float>.org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
-
topAsComparableLong
protected long topAsComparableLong()- Specified by:
topAsComparableLongin classorg.apache.lucene.search.comparators.NumericComparator<Float>.org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
-