Class IntValuesSourceComparator
java.lang.Object
org.apache.lucene.search.FieldComparator<T>
org.apache.lucene.search.comparators.NumericComparator<Integer>
org.apache.lucene.search.comparators.IntComparator
org.hibernate.search.backend.lucene.lowlevel.comparator.impl.IntValuesSourceComparator
public class IntValuesSourceComparator
extends org.apache.lucene.search.comparators.IntComparator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.comparators.IntComparator
org.apache.lucene.search.comparators.IntComparator.IntLeafComparatorNested 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.IntComparator
bottom, topValueFields inherited from class org.apache.lucene.search.comparators.NumericComparator
field, hitsThresholdReached, missingValue, pruning, queueFull, reverse, singleSort, topValueSet -
Constructor Summary
ConstructorsConstructorDescriptionIntValuesSourceComparator(int numHits, String field, Integer 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.IntComparator
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
-
IntValuesSourceComparator
public IntValuesSourceComparator(int numHits, String field, Integer 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.IntComparator- Throws:
IOException
-