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, TF
BIT_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, toString
equals, getWritableEntryStatistics, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDocumentFrequency, getFrequency, getTermId, getWritableEntryStatistics
public 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 BlockEntryStatistics
public void readFields(DataInput in) throws IOException
BasicLexiconEntry
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class BasicLexiconEntry
IOException
public void write(DataOutput out) throws IOException
BasicLexiconEntry
write
in interface org.apache.hadoop.io.Writable
write
in class BasicLexiconEntry
IOException
public void add(EntryStatistics le)
add
in interface EntryStatistics
add
in class BasicLexiconEntry
public void subtract(EntryStatistics le)
subtract
in interface EntryStatistics
subtract
in class BasicLexiconEntry
Terrier 4.0. Copyright © 2004-2014 University of Glasgow