public class MultiLexiconEntry extends LexiconEntry
| Constructor and Description |
|---|
MultiLexiconEntry(LexiconEntry[] le)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(EntryStatistics e)
Not implemented.
|
LexiconEntry[] |
getChildren()
Return LexiconEntry's.
|
int |
getDocumentFrequency()
The number of documents that the entry (term) occurred in
|
int |
getFrequency()
The frequency (total number of occurrences) of the entry (term).
|
int |
getNumberOfEntries()
Returns number of "things" that this pointer refers to
|
int |
getTermId()
Not implemented.
|
String |
pointerToString()
Not implemented.
|
void |
readFields(DataInput arg0)
Not implemented.
|
void |
setNumberOfEntries(int n)
Not implemented.
|
void |
setPointer(Pointer p)
Not implemented.
|
void |
setStatistics(int n_t,
int TF)
Not implemented.
|
void |
setTermId(int newTermId)
Not implemented.
|
void |
subtract(EntryStatistics e)
Not implemented.
|
void |
write(DataOutput arg0)
Not implemented.
|
equals, getWritableEntryStatistics, hashCode, toStringpublic MultiLexiconEntry(LexiconEntry[] le)
public LexiconEntry[] getChildren()
public int getFrequency()
public int getDocumentFrequency()
public int getNumberOfEntries()
getNumberOfEntries in interface PointergetNumberOfEntries in class LexiconEntrypublic int getTermId()
public void add(EntryStatistics e)
public void subtract(EntryStatistics e)
public void setNumberOfEntries(int n)
setNumberOfEntries in interface PointersetNumberOfEntries in class LexiconEntrypublic String pointerToString()
pointerToString in interface PointerpointerToString in class LexiconEntrypublic void setPointer(Pointer p)
setPointer in interface PointersetPointer in class LexiconEntryp - other pointer to update the pointer in this objectpublic void readFields(DataInput arg0) throws IOException
IOExceptionpublic void write(DataOutput arg0) throws IOException
IOExceptionpublic void setTermId(int newTermId)
setTermId in class LexiconEntrypublic void setStatistics(int n_t,
int TF)
setStatistics in class LexiconEntryTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow