Expand description
Sector header and in-RAM sector index.
Structs§
- LogId
- Identity of a logical log.
- Sector
Footer - A sealed sector’s
SectorSummary, written into the sector’s last page. - Sector
Header - Wire-format sector header for zerocopy serialization.
- Sector
Summary - In-RAM summary of a sector for fast queries.
Enums§
- Sector
Class - How a sector’s header reads to a database configured with a given
LogId. - Sector
State - State of a sector in the ring buffer.
Constants§
- SECTOR_
FOOTER_ MAGIC - Sector footer magic: “SDF2”.
- SECTOR_
FOOTER_ SIZE - Size of the sector footer in bytes (52).
- SECTOR_
FOOTER_ VERSION - Format version carried in the sector footer.
- SECTOR_
FORMAT_ VERSION - Format version carried in the sector header.
- SECTOR_
HEADER_ SIZE - Size of the sector header in bytes (28, SD05).
- SECTOR_
MAGIC - Sector magic bytes: “SD05” (current and only supported format).
Functions§
- sensor_
id_ to_ bit - Map a sensor ID to a single bit in a 64-bit bloom filter using Fibonacci hashing.