Class LongValuesSourceComparator
java.lang.Object
org.apache.lucene.search.FieldComparator<T>
org.apache.lucene.search.comparators.NumericComparator<Long>
org.apache.lucene.search.comparators.LongComparator
org.hibernate.search.backend.lucene.lowlevel.comparator.impl.LongValuesSourceComparator
public class LongValuesSourceComparator
extends org.apache.lucene.search.comparators.LongComparator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.comparators.LongComparator
org.apache.lucene.search.comparators.LongComparator.LongLeafComparatorNested classes/interfaces inherited from class org.apache.lucene.search.comparators.NumericComparator
org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparatorNested classes/interfaces inherited from class org.apache.lucene.search.FieldComparator
org.apache.lucene.search.FieldComparator.RelevanceComparator, org.apache.lucene.search.FieldComparator.TermValComparator -
Field Summary
Fields inherited from class org.apache.lucene.search.comparators.LongComparator
bottom, topValueFields inherited from class org.apache.lucene.search.comparators.NumericComparator
field, hitsThresholdReached, missingValue, pruning, queueFull, reverse, singleSort, topValueSet -
Constructor Summary
ConstructorsConstructorDescriptionLongValuesSourceComparator(int numHits, String field, Long missingValue, boolean reversed, org.apache.lucene.search.Pruning ignored, LongMultiValuesToSingleValuesSource source) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.LeafFieldComparatorgetLeafComparator(org.apache.lucene.index.LeafReaderContext context) Methods inherited from class org.apache.lucene.search.comparators.LongComparator
compare, setTopValue, valueMethods inherited from class org.apache.lucene.search.comparators.NumericComparator
disableSkipping, setSingleSortMethods inherited from class org.apache.lucene.search.FieldComparator
compareValues
-
Constructor Details
-
LongValuesSourceComparator
public LongValuesSourceComparator(int numHits, String field, Long missingValue, boolean reversed, org.apache.lucene.search.Pruning ignored, LongMultiValuesToSingleValuesSource source)
-
-
Method Details
-
getLeafComparator
public org.apache.lucene.search.LeafFieldComparator getLeafComparator(org.apache.lucene.index.LeafReaderContext context) throws IOException - Overrides:
getLeafComparatorin classorg.apache.lucene.search.comparators.LongComparator- Throws:
IOException
-