Available on crate feature
archive only.Expand description
Resolving an archive to segment bytes, live tail included. Reading an archive: a stream’s segments, oldest first, with its live WAL tail spliced on as the newest one.
This is the whole read side of the container. What dendro hands back is Parquet bytes — it does not open them, and it has no opinion about the query engine that will. Everything above this line is the caller’s.
Structs§
- Overview
- Everything about an archive that does not require reading a segment: the file’s own size and page accounting, and the whole catalog.
- Source
Catalog - A source as the catalog sees it, with every stream it currently holds. Fields are added without a major version; construct one only by asking dendro for it, and match with a wildcard arm.
- Source
Segments - One source’s contents, resolved to bytes. Fields are added without a major version; construct one only by asking dendro for it, and match with a wildcard arm.
- Stream
Catalog - A stream as the catalog sees it: how much is sealed, how much is live, and the span the two cover. No BLOB is read to answer this. Fields are added without a major version; construct one only by asking dendro for it, and match with a wildcard arm.
Enums§
- Segment
Bytes - Where one stream’s segment bytes come from, resolved lazily.
Functions§
- catalog
- Everything the catalog knows about the archive, from one snapshot and without reading a segment.
- describe
- Describe an archive without reading a segment. See
Overview. - probe
- One segment of a stream, for a caller that needs to learn the stream’s schema — the columns, the names — before deciding whether to read it.
- read_
archive - Every source in the archive at
path. - stream_
indexes - One stream’s indexes, in the same order as
stream_segmentsreturns its segments: the sealed ones from the catalog, then the live tail’s. - stream_
range - A stream’s segments overlapping
[start, end], oldest first, with the live tail spliced on as the newest when it holds a row in the range. - stream_
segments - One stream’s parquet segments, oldest first: its sealed segments in
seqorder, then its live WAL tail materialized as the newest segment.