|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Entry
An interface describing things that can be stored in dictionaries, either for indexing purposes or for querying purposes. All entries have a name that can be gotten.
Method Summary | |
---|---|
Entry |
getEntry()
Gets a new entry that contains a copy of the data in this entry. |
Entry |
getEntry(java.lang.Object name)
Gets a new entry with the given name. |
int |
getID()
Gets the ID associated with this entry. |
int |
getMaxFDT()
Gets the maximum document term frequency from this entry. |
int |
getN()
Gets the number of postings associated with this entry. |
java.lang.Object |
getName()
Gets the name of this entry, which can be any object. |
int |
getNumChannels()
Returns the number of channels needed to store or retrieve the postings for this entry type. |
Partition |
getPartition()
Gets the partition that this entry was drawn from. |
long |
getTotalOccurrences()
Gets the total number of occurrences associated with this entry. |
void |
setDictionary(Dictionary dict)
Sets the dictionary that this entry was drawn from. |
void |
setID(int id)
Sets the ID associated with this entry. |
void |
setName(java.lang.Object name)
Sets the name of the entry, which can be any object. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
Entry getEntry(java.lang.Object name)
name
- the name that we want to give the entry.
Entry getEntry()
java.lang.Object getName()
void setName(java.lang.Object name)
int getID()
void setID(int id)
int getN()
long getTotalOccurrences()
At the moment, this is only really useful for entries from the main dictionary for a partition.
int getMaxFDT()
void setDictionary(Dictionary dict)
Partition getPartition()
int getNumChannels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |