public class Tr3BlockLexiconEntry extends Tr4BasicLexiconEntry implements BlockEntryStatistics
Modifier and Type | Class and Description |
---|---|
static class |
Tr3BlockLexiconEntry.Factory
Deprecated.
Factory for creating block lexicon entries
|
maxtf, n_t, startBitOffset, startOffset, termId, TF
BIT_MASK, FILE_SHIFT, MAX_FILE_ID
Constructor and Description |
---|
Tr3BlockLexiconEntry()
Deprecated.
Construct an instance of the class.
|
Tr3BlockLexiconEntry(int tid,
int n_t,
int TF,
byte fileId,
BitFilePosition offset,
int _blockCount)
Deprecated.
Construct an instance of the class with
|
Tr3BlockLexiconEntry(int tid,
int n_t,
int TF,
byte fileId,
long _startOffset,
byte _startBitOffset,
int _blockCount)
Deprecated.
Construct an instance of the class with
|
Tr3BlockLexiconEntry(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, getMaxFrequencyInDocuments, getNumberOfEntries, getOffset, getOffsetBits, getTermId, pointerToString, setBitIndexPointer, setDocumentFrequency, setFileNumber, setFrequency, setMaxFrequencyInDocuments, setNumberOfEntries, setOffset, setOffset, setPointer, setStatistics, setTermId, toString
equals, getWritableEntryStatistics, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDocumentFrequency, getFrequency, getMaxFrequencyInDocuments, getTermId, getWritableEntryStatistics, setDocumentFrequency, setFrequency, setMaxFrequencyInDocuments
public Tr3BlockLexiconEntry()
public Tr3BlockLexiconEntry(int tid, int n_t, int TF, byte fileId, BitFilePosition offset, int _blockCount)
tid
- n_t
- TF
- fileId
- offset
- _blockCount
- public Tr3BlockLexiconEntry(int tid, int n_t, int TF, byte fileId, long _startOffset, byte _startBitOffset, int _blockCount)
tid
- n_t
- TF
- fileId
- _startOffset
- _startBitOffset
- _blockCount
- public Tr3BlockLexiconEntry(int tid, int n_t, int TF, int _blockCount)
tid
- n_t
- TF
- _blockCount
- public int getBlockCount()
getBlockCount
in interface BlockEntryStatistics
public void readFields(DataInput in) throws IOException
Tr4BasicLexiconEntry
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class Tr4BasicLexiconEntry
IOException
public void write(DataOutput out) throws IOException
Tr4BasicLexiconEntry
write
in interface org.apache.hadoop.io.Writable
write
in class Tr4BasicLexiconEntry
IOException
public void add(EntryStatistics le)
add
in interface EntryStatistics
add
in class Tr4BasicLexiconEntry
public void subtract(EntryStatistics le)
subtract
in interface EntryStatistics
subtract
in class Tr4BasicLexiconEntry
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow