|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSparseStringComparator
public class SparseStringComparator
Nested Class Summary | |
---|---|
(package private) class |
SparseStringComparator.Entry
A single entry in the sorting table |
(package private) static class |
SparseStringComparator.EntryComparator
Compare two entries for sorting purposes |
private class |
SparseStringComparator.SparseComp
|
Field Summary | |
---|---|
private static WeakHashMap |
cache
|
private static SparseStringComparator.EntryComparator |
entryComparator
|
Constructor Summary | |
---|---|
SparseStringComparator()
|
Method Summary | |
---|---|
ScoreDocComparator |
newComparator(IndexReader reader,
String fieldName)
Make a comparator for the given field using the given reader |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final WeakHashMap cache
private static final SparseStringComparator.EntryComparator entryComparator
Constructor Detail |
---|
public SparseStringComparator()
Method Detail |
---|
public ScoreDocComparator newComparator(IndexReader reader, String fieldName) throws IOException
newComparator
in interface SortComparatorSource
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |