public abstract class ToParentBlockJoinFieldComparator extends SimpleFieldComparator<Object> implements LeafFieldComparator
Modifier and Type | Class and Description |
---|---|
static class |
ToParentBlockJoinFieldComparator.Highest
Concrete implementation of
ToParentBlockJoinSortField to sorts the parent docs with the highest values
in the child / nested docs first. |
static class |
ToParentBlockJoinFieldComparator.Lowest
Concrete implementation of
ToParentBlockJoinSortField to sorts the parent docs with the lowest values
in the child / nested docs first. |
FieldComparator.DocComparator, FieldComparator.DoubleComparator, FieldComparator.FloatComparator, FieldComparator.IntComparator, FieldComparator.LongComparator, FieldComparator.NumericComparator<T extends Number>, FieldComparator.RelevanceComparator, FieldComparator.TermOrdValComparator, FieldComparator.TermValComparator
Modifier and Type | Method and Description |
---|---|
int |
compare(int slot1,
int slot2) |
protected void |
doSetNextReader(LeafReaderContext context) |
void |
setBottom(int slot) |
void |
setTopValue(Object value) |
Object |
value(int slot) |
getLeafComparator, setScorer
compareValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareBottom, compareTop, copy, setScorer
public int compare(int slot1, int slot2)
compare
in class FieldComparator<Object>
public void setBottom(int slot)
setBottom
in interface LeafFieldComparator
public void setTopValue(Object value)
setTopValue
in class FieldComparator<Object>
protected void doSetNextReader(LeafReaderContext context) throws IOException
doSetNextReader
in class SimpleFieldComparator<Object>
IOException
public Object value(int slot)
value
in class FieldComparator<Object>
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.