private static class LongValuesSource.LongValuesComparatorSource extends FieldComparatorSource
| Modifier and Type | Field and Description |
|---|---|
private long |
missingValue |
private LongValuesSource |
producer |
| Constructor and Description |
|---|
LongValuesComparatorSource(LongValuesSource producer) |
| Modifier and Type | Method and Description |
|---|---|
FieldComparator<java.lang.Long> |
newComparator(java.lang.String fieldname,
int numHits,
int sortPos,
boolean reversed)
Creates a comparator for the field in the given index.
|
(package private) void |
setMissingValue(long missingValue) |
private final LongValuesSource producer
private long missingValue
public LongValuesComparatorSource(LongValuesSource producer)
void setMissingValue(long missingValue)
public FieldComparator<java.lang.Long> newComparator(java.lang.String fieldname, int numHits, int sortPos, boolean reversed)
FieldComparatorSourcenewComparator in class FieldComparatorSourcefieldname - Name of the field to create comparator for.