BadgerDB
 All Classes Namespaces Functions Variables Typedefs 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 77 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 92 of file page.h.

std::uint16_t badgerdb::PageSlot::item_offset

Offset of the data item in the page.

Definition at line 87 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 82 of file page.h.


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