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