#include <table.h>
◆ Partition()
MemDb::Table::Partition::Partition |
( |
| ) |
|
|
privatedefault |
◆ ~Partition()
MemDb::Table::Partition::~Partition |
( |
| ) |
|
|
private |
◆ AllocateRowIndex()
uint16_t MemDb::Table::Partition::AllocateRowIndex |
( |
| ) |
|
|
private |
recycle free row or allocate new row
◆ EraseSwapIndex()
void MemDb::Table::Partition::EraseSwapIndex |
( |
uint16_t | instance | ) |
|
|
private |
erase row by swapping with last row and reducing number of rows in table
◆ FreeIndex()
void MemDb::Table::Partition::FreeIndex |
( |
uint16_t | instance | ) |
|
|
private |
◆ CAPACITY
uint MemDb::Table::Partition::CAPACITY = 256 |
|
staticconstexpr |
◆ columns
holds all the column buffers. This excludes non-typed attributes
◆ freeIds
◆ modifiedRows
check a bit if the row has been modified, and you need to track it.
bits are reset when partition is defragged
◆ next
Partition* MemDb::Table::Partition::next = nullptr |
◆ numRows
uint32_t MemDb::Table::Partition::numRows = 0 |
◆ partitionId
uint16_t MemDb::Table::Partition::partitionId = 0xFFFF |
◆ previous
Partition* MemDb::Table::Partition::previous = nullptr |
◆ Table
friend MemDb::Table::Partition::Table |
|
private |
◆ table
Table* MemDb::Table::Partition::table = nullptr |
◆ validRows
bits are set if the row is occupied.
If the row is removed, the bit is set to zero. this is kept up to date if defragging the partition.
◆ version
uint64_t MemDb::Table::Partition::version = 0 |
The documentation for this class was generated from the following files:
- /github/workspace/code/addons/memdb/table.h
- /github/workspace/code/addons/memdb/table.cc