|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.indexer.entry.BaseEntry com.sun.labs.minion.indexer.entry.SinglePostingsEntry com.sun.labs.minion.indexer.entry.DocKeyEntry com.sun.labs.minion.classification.ClusterEntry
public class ClusterEntry
An entry for the doc dictionary in the cluster partition.
Field Summary |
---|
Fields inherited from class com.sun.labs.minion.indexer.entry.DocKeyEntry |
---|
docLen, logTag, origID, prevEntry |
Fields inherited from class com.sun.labs.minion.indexer.entry.SinglePostingsEntry |
---|
n, offset, p, size, tsize |
Fields inherited from class com.sun.labs.minion.indexer.entry.BaseEntry |
---|
dict, id, name, postIn |
Constructor Summary | |
---|---|
ClusterEntry()
|
|
ClusterEntry(java.lang.Object name)
|
Method Summary | |
---|---|
Entry |
getEntry(java.lang.Object name)
Gets a new entry with the given name. |
Postings |
getPostings()
Gets the appropriate postings type for the class. |
protected Postings |
getPostings(ReadableBuffer input)
Gets a set of postings useful at query time. |
Methods inherited from class com.sun.labs.minion.indexer.entry.DocKeyEntry |
---|
append, decodePostingsInfo, encodePostingsInfo, getDocumentLength, getDocumentVectorLength, getDocumentVectorLength, getDocumentVectorLength, getEntry, getOrigID, getTotalOccurrences, getWeightedFeatures, merge, writePostings |
Methods inherited from class com.sun.labs.minion.indexer.entry.SinglePostingsEntry |
---|
add, copyData, getMaxFDT, getN, getNumChannels, hasFieldInformation, hasPositionInformation, iterator, readPostings |
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, setID, setName |
Methods inherited from interface com.sun.labs.minion.indexer.entry.Entry |
---|
getID, getMaxFDT, getN, getName, getNumChannels, getPartition, setDictionary |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public ClusterEntry()
public ClusterEntry(java.lang.Object name)
Method Detail |
---|
public Entry getEntry(java.lang.Object name)
Entry
getEntry
in interface Entry
getEntry
in class DocKeyEntry
name
- the name that we want to give the entry.
public Postings getPostings()
getPostings
in class DocKeyEntry
protected Postings getPostings(ReadableBuffer input)
getPostings
in class DocKeyEntry
input
- The buffer containing the postings read from the
postings file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |