Go to the source code of this file.
Classes | |
| class | LbmSegment |
| Class implementing bitmap segments. More... | |
Functions | |
| DEFINE_OPAQUE_INTEGER (LbmByteNumber, uint64_t) | |
| Offset into the byte representation of row ids, in which each row id is encoded as a single bit. | |
| LbmByteNumber | ridToByteNumber (LcsRid rid) |
| Returns the byte number of a rid. | |
| LcsRid | byteNumberToRid (LbmByteNumber byteNum) |
| Returns the rid corresponding to a byte offset. | |
| LcsRid byteNumberToRid | ( | LbmByteNumber | byteNum | ) | [inline] |
Returns the rid corresponding to a byte offset.
Definition at line 303 of file LbmSegment.h.
References LbmSegment::LbmOneByteSizeBitShift, and opaqueToInt().
Referenced by LbmSegmentReaderBase::advanceSegment(), LbmByteSegment::getEndRid(), LbmByteSegment::getSrid(), LbmSegmentReader::readCurrentByteSegment(), and LbmMinusExecStream::readMinuendInput().
00304 { 00305 return LcsRid( 00306 opaqueToInt(byteNum) << LbmSegment::LbmOneByteSizeBitShift); 00307 }
| DEFINE_OPAQUE_INTEGER | ( | LbmByteNumber | , | |
| uint64_t | ||||
| ) |
Offset into the byte representation of row ids, in which each row id is encoded as a single bit.
| LbmByteNumber ridToByteNumber | ( | LcsRid | rid | ) | [inline] |
Returns the byte number of a rid.
Definition at line 294 of file LbmSegment.h.
References LbmSegment::LbmOneByteSizeBitShift, and opaqueToInt().
Referenced by LbmSegmentReader::advanceToRid(), LbmUnionWorkspace::advanceToSrid(), LbmSegmentReaderBase::readBitmapSegTuple(), and LbmUnionWorkspace::setProductionLimit().
00295 { 00296 return LbmByteNumber( 00297 opaqueToInt(rid) >> LbmSegment::LbmOneByteSizeBitShift); 00298 }
1.5.1