public final class DynamicOperandFieldComparator extends AbstractFieldComparator
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.NumericComparator<T extends Number>, 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
readers, starts
Constructor and Description |
---|
DynamicOperandFieldComparator(Session session,
OperandEvaluator evaluator,
Ordering ordering,
int numHits) |
Modifier and Type | Method and Description |
---|---|
protected Comparable<org.apache.jackrabbit.core.query.lucene.sort.ValueComparableWrapper> |
sortValue(int doc)
Value for a document
|
getUUIDForIndex, getValue, readerIndex, setNextReader, setValue
compare, compare, compareBottom, copy, setBottom, value
public DynamicOperandFieldComparator(Session session, OperandEvaluator evaluator, Ordering ordering, int numHits)
protected Comparable<org.apache.jackrabbit.core.query.lucene.sort.ValueComparableWrapper> sortValue(int doc)
FieldComparatorBase
sortValue
in class FieldComparatorBase
doc
- id of the documentCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.