public class BlockLexiconEntry extends BasicLexiconEntry implements BlockEntryStatistics
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockLexiconEntry.Factory
Deprecated.
Factory for creating block lexicon entries
|
n_t, startBitOffset, startOffset, termId, TFBIT_MASK, FILE_SHIFT, MAX_FILE_ID| Constructor and Description |
|---|
BlockLexiconEntry()
Deprecated.
Construct an instance of the class.
|
BlockLexiconEntry(int tid,
int n_t,
int TF,
byte fileId,
BitFilePosition offset,
int _blockCount)
Deprecated.
Construct an instance of the class with
|
BlockLexiconEntry(int tid,
int n_t,
int TF,
byte fileId,
long _startOffset,
byte _startBitOffset,
int _blockCount)
Deprecated.
Construct an instance of the class with
|
BlockLexiconEntry(int tid,
int n_t,
int TF,
int _blockCount)
Deprecated.
Construct an instance of the class with
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(EntryStatistics le)
Deprecated.
increment this lexicon entry by another
|
int |
getBlockCount()
Deprecated.
The number of blocks that this term has.
|
void |
readFields(DataInput in)
Deprecated.
|
void |
subtract(EntryStatistics le)
Deprecated.
alter this lexicon entry to subtract another lexicon entry
|
void |
write(DataOutput out)
Deprecated.
|
getDocumentFrequency, getFileNumber, getFrequency, getNumberOfEntries, getOffset, getOffsetBits, getTermId, pointerToString, setBitIndexPointer, setFileNumber, setNumberOfEntries, setOffset, setOffset, setPointer, setStatistics, setTermId, toStringequals, getWritableEntryStatistics, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDocumentFrequency, getFrequency, getTermId, getWritableEntryStatisticspublic BlockLexiconEntry()
public BlockLexiconEntry(int tid,
int n_t,
int TF,
byte fileId,
BitFilePosition offset,
int _blockCount)
tid - n_t - TF - fileId - offset - _blockCount - public BlockLexiconEntry(int tid,
int n_t,
int TF,
byte fileId,
long _startOffset,
byte _startBitOffset,
int _blockCount)
tid - n_t - TF - fileId - _startOffset - _startBitOffset - _blockCount - public BlockLexiconEntry(int tid,
int n_t,
int TF,
int _blockCount)
tid - n_t - TF - _blockCount - public int getBlockCount()
getBlockCount in interface BlockEntryStatisticspublic void readFields(DataInput in) throws IOException
BasicLexiconEntryreadFields in interface org.apache.hadoop.io.WritablereadFields in class BasicLexiconEntryIOExceptionpublic void write(DataOutput out) throws IOException
BasicLexiconEntrywrite in interface org.apache.hadoop.io.Writablewrite in class BasicLexiconEntryIOExceptionpublic void add(EntryStatistics le)
add in interface EntryStatisticsadd in class BasicLexiconEntrypublic void subtract(EntryStatistics le)
subtract in interface EntryStatisticssubtract in class BasicLexiconEntryTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow