BadgerDB
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
Public Attributes | List of all members
badgerdb::PageSlot Struct Reference

Slot metadata that tracks where a record is in the data space. More...

#include <page.h>

Public Attributes

bool used
 
std::uint16_t item_offset
 
std::uint16_t item_length
 

Detailed Description

Slot metadata that tracks where a record is in the data space.

Definition at line 78 of file page.h.

Member Data Documentation

std::uint16_t badgerdb::PageSlot::item_length

Length of the data item in this slot.

Definition at line 93 of file page.h.

std::uint16_t badgerdb::PageSlot::item_offset

Offset of the data item in the page.

Definition at line 88 of file page.h.

bool badgerdb::PageSlot::used

Whether the slot currently holds data. May be false if this slot's record has been deleted after insertion.

Definition at line 83 of file page.h.


The documentation for this struct was generated from the following file: