Expand description
Pack writer and reader.
A Pack is one container file (see crate::container) holding the record
store, admin context table, text index and spatial index. Builds write a new
generation next to the published one and switch the CURRENT pointer only
after the new Pack passes validation, so running servers never see a
partial Pack.
<pack dir>/CURRENT id of the published generation
<pack dir>/generations/<id>/pack.ogp the Pack
<pack dir>/generations/<id>/audit/ build report and rejectionsRe-exports§
pub use crate::context::AdminContextTuple;pub use crate::context::RecordContext;pub use crate::records::ContextRecord;pub use crate::records::RecordPoint;pub use crate::records::RecordPointPrecision;pub use crate::records::RecordSource;pub use crate::records::RecordSummary;
Structs§
- Pack
Build Stats - Statistics a build reports after sealing the Pack.
- Pack
Manifest - Pack
Reader - Pack
Spatial Manifest - Pack
Writer - Writes records in their final order. Record ids are assigned sequentially.
- Pack
Writer Options - Sealed
Pack - A finished, unpublished Pack.
Constants§
Functions§
- resolve_
pack_ path - Resolve once per operation so every reader opens the same build. A file
path is a Pack file; a directory is a Pack directory with a
CURRENTpointer to its published generation.