public interface BitIndexPointer extends BitFilePosition, org.apache.hadoop.io.Writable, Pointer
Modifier and Type | Field and Description |
---|---|
static byte |
BIT_MASK
amount to mask byte by to obtain bit offset
|
static byte |
FILE_SHIFT
amount to shift byte by to obtain file id
|
static byte |
MAX_FILE_ID
largest permissible file id using most implementations
|
Modifier and Type | Method and Description |
---|---|
byte |
getFileNumber()
Returns the file number: 0-32
|
void |
setBitIndexPointer(BitIndexPointer pointer)
Update this pointer to reflect the same values as the specified
pointer
|
void |
setFileNumber(byte fileId)
Set the file number
|
getOffset, getOffsetBits, setOffset, setOffset
getNumberOfEntries, pointerToString, setNumberOfEntries, setPointer
static final byte MAX_FILE_ID
static final byte BIT_MASK
static final byte FILE_SHIFT
void setBitIndexPointer(BitIndexPointer pointer)
pointer
- - pointer to use to set the offset, bit offset
and file Id parameters.void setFileNumber(byte fileId)
byte getFileNumber()
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow