com.sun.labs.minion.indexer.dictionary
Class BasicField.Fetcher
java.lang.Object
com.sun.labs.minion.indexer.dictionary.BasicField.Fetcher
- Enclosing class:
- BasicField
public class BasicField.Fetcher
- extends java.lang.Object
A class that can be used when you want to get a lot of field values for
a particular field, for example, when sorting or clustering results
by a particular field.
Method Summary |
java.util.List |
fetch(int docID)
|
java.util.List |
fetch(int docID,
java.util.List l)
|
java.lang.Object |
fetchOne(int docID)
Fetches one value for the given field. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicField.Fetcher
public BasicField.Fetcher()
fetchOne
public java.lang.Object fetchOne(int docID)
- Fetches one value for the given field.
fetch
public java.util.List fetch(int docID)
fetch
public java.util.List fetch(int docID,
java.util.List l)