public class MemoryFieldsLexiconEntry extends MemoryLexiconEntry implements FieldEntryStatistics
| Constructor and Description |
|---|
MemoryFieldsLexiconEntry(int termid)
Constructor (termid).
|
MemoryFieldsLexiconEntry(int df,
int tf,
int[] fields)
Constructor (df, tf, fields).
|
MemoryFieldsLexiconEntry(int termid,
int df,
int tf,
int[] fields)
Constructor (termid, df, tf, fields).
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(EntryStatistics le)
Increment the statistics of this object by that of another
|
int[] |
getFieldFrequencies()
Get the frequencies for each field
|
void |
subtract(EntryStatistics le)
Decrement the statistics of this object by that of another
|
clone, getDocumentFrequency, getFrequency, getNumberOfEntries, getPointer, getTermId, pointerToString, readFields, setNumberOfEntries, setPointer, setStatistics, setTermId, writeequals, getWritableEntryStatistics, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetDocumentFrequency, getFrequency, getTermId, getWritableEntryStatisticspublic MemoryFieldsLexiconEntry(int termid,
int df,
int tf,
int[] fields)
public MemoryFieldsLexiconEntry(int df,
int tf,
int[] fields)
public MemoryFieldsLexiconEntry(int termid)
public int[] getFieldFrequencies()
getFieldFrequencies in interface FieldEntryStatisticspublic void add(EntryStatistics le)
add in interface EntryStatisticsadd in class MemoryLexiconEntrypublic void subtract(EntryStatistics le)
subtract in interface EntryStatisticssubtract in class MemoryLexiconEntryTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow