|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryEntry
An entry that is returned from dictionaries during querying operations.
| Method Summary | |
|---|---|
void |
decodePostingsInfo(ReadableBuffer b,
int pos)
Decodes the postings information associated with this entry. |
boolean |
hasFieldInformation()
Indicates whether the postings associated with this entry have field information. |
boolean |
hasPositionInformation()
Indicates whether the postings associated with this entry have position information. |
PostingsIterator |
iterator(PostingsIteratorFeatures features)
Gets an iterator that will iterate through the postings associated with this entry. |
void |
readPostings()
Reads the postings data for this entry. |
void |
setPostingsInput(PostingsInput[] postIn)
Sets the inputs that will be used to read postings for this entry. |
| Methods inherited from interface com.sun.labs.minion.indexer.entry.Entry |
|---|
getEntry, getEntry, getID, getMaxFDT, getN, getName, getNumChannels, getPartition, getTotalOccurrences, setDictionary, setID, setName |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
void setPostingsInput(PostingsInput[] postIn)
postIn - The channels from which the postings data can be read.
void decodePostingsInfo(ReadableBuffer b,
int pos)
b - The buffer containing the encoded postings information.pos - The position in b where the postings
information can be found.
void readPostings()
throws java.io.IOException
java.io.IOException - if there is any error reading the
postings.boolean hasPositionInformation()
boolean hasFieldInformation()
PostingsIterator iterator(PostingsIteratorFeatures features)
features - A set of features that the iterator must support.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||