@Deprecated public class Tr3BlockFieldLexiconEntry extends Tr4BasicLexiconEntry implements FieldEntryStatistics, BlockEntryStatistics
| Modifier and Type | Class and Description |
|---|---|
static class |
Tr3BlockFieldLexiconEntry.Factory
Deprecated.
Factory for creating LexiconEntries
|
| Modifier and Type | Field and Description |
|---|---|
protected int |
blockCount
Deprecated.
|
protected int[] |
fieldFrequencies
Deprecated.
|
maxtf, n_t, startBitOffset, startOffset, termId, TFBIT_MASK, FILE_SHIFT, MAX_FILE_ID| Constructor and Description |
|---|
Tr3BlockFieldLexiconEntry(int fieldCount)
Deprecated.
Constructs an instance of the class with
|
Tr3BlockFieldLexiconEntry(int[] _fieldFrequencies,
int _blockCount)
Deprecated.
Construct an instance of the class with
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockCount()
Deprecated.
The number of blocks that this term has.
|
int[] |
getFieldFrequencies()
Deprecated.
Get the frequencies for each field
|
void |
readFields(DataInput in)
Deprecated.
|
void |
setFieldFrequencies(int[] _fieldFrequencices)
Deprecated.
Sets the frequencies for each field
|
void |
write(DataOutput out)
Deprecated.
|
add, getDocumentFrequency, getFileNumber, getFrequency, getMaxFrequencyInDocuments, getNumberOfEntries, getOffset, getOffsetBits, getTermId, pointerToString, setBitIndexPointer, setDocumentFrequency, setFileNumber, setFrequency, setMaxFrequencyInDocuments, setNumberOfEntries, setOffset, setOffset, setPointer, setStatistics, setTermId, subtract, toStringequals, getWritableEntryStatistics, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, getDocumentFrequency, getFrequency, getMaxFrequencyInDocuments, getTermId, getWritableEntryStatistics, setDocumentFrequency, setFrequency, setMaxFrequencyInDocuments, subtractprotected final int[] fieldFrequencies
protected int blockCount
public Tr3BlockFieldLexiconEntry(int fieldCount)
fieldCount - public Tr3BlockFieldLexiconEntry(int[] _fieldFrequencies,
int _blockCount)
_fieldFrequencies - _blockCount - public int[] getFieldFrequencies()
getFieldFrequencies in interface FieldEntryStatisticspublic void setFieldFrequencies(int[] _fieldFrequencices)
public void readFields(DataInput in) throws IOException
Tr4BasicLexiconEntryreadFields in interface org.apache.hadoop.io.WritablereadFields in class Tr4BasicLexiconEntryIOExceptionpublic void write(DataOutput out) throws IOException
Tr4BasicLexiconEntrywrite in interface org.apache.hadoop.io.Writablewrite in class Tr4BasicLexiconEntryIOExceptionpublic int getBlockCount()
getBlockCount in interface BlockEntryStatisticsTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow