|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.labs.minion.indexer.entry.BaseEntry
com.sun.labs.minion.indexer.entry.SinglePostingsEntry
com.sun.labs.minion.indexer.entry.IDEntry
public class IDEntry
| Field Summary |
|---|
| Fields inherited from class com.sun.labs.minion.indexer.entry.SinglePostingsEntry |
|---|
logTag, n, offset, p, size, tsize |
| Fields inherited from class com.sun.labs.minion.indexer.entry.BaseEntry |
|---|
dict, id, name, postIn |
| Constructor Summary | |
|---|---|
IDEntry()
|
|
IDEntry(java.lang.Object name)
|
|
| Method Summary | |
|---|---|
Entry |
getEntry(java.lang.Object name)
Gets a new entry with the given name. |
protected Postings |
getPostings()
Gets the appropriate postings type for the class. |
protected Postings |
getPostings(ReadableBuffer input)
Reads the postings for this class, returning a set of postings useful at query time. |
void |
merge(QueryEntry qe,
int[] idMap)
Merges postings from another entry into this one. |
| Methods inherited from class com.sun.labs.minion.indexer.entry.SinglePostingsEntry |
|---|
add, append, copyData, decodePostingsInfo, encodePostingsInfo, getEntry, getMaxFDT, getN, getNumChannels, getTotalOccurrences, hasFieldInformation, hasPositionInformation, iterator, readPostings, writePostings |
| Methods inherited from class com.sun.labs.minion.indexer.entry.BaseEntry |
|---|
compareTo, getID, getName, getPartition, setDictionary, setID, setName, setPostingsInput, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.labs.minion.indexer.entry.IndexEntry |
|---|
add, append, encodePostingsInfo, setID, setName, writePostings |
| Methods inherited from interface com.sun.labs.minion.indexer.entry.Entry |
|---|
getEntry, getID, getMaxFDT, getN, getName, getNumChannels, getPartition, getTotalOccurrences, setDictionary |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public IDEntry()
public IDEntry(java.lang.Object name)
| Method Detail |
|---|
public Entry getEntry(java.lang.Object name)
Entry
getEntry in interface Entryname - the name that we want to give the entry.
protected Postings getPostings()
getPostings in class SinglePostingsEntryprotected Postings getPostings(ReadableBuffer input)
getPostings in class SinglePostingsEntryinput - The buffer containing the postings read from the
postings file.
public void merge(QueryEntry qe,
int[] idMap)
MergeableEntry
merge in interface MergeableEntryqe - The entry that we want to append onto this one.idMap - A map from old IDs in the given postings to new IDs
with gaps removed for deleted data. If this is null,
then there are no deleted documents.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||