Available on crate feature
archive only.Expand description
Segments, and the encoder boundary. Segments: what a stream’s rows become when they are sealed, and the boundary across which dendro does not know what a row means.
Structs§
- Encode
Context - Which stream an encode is for, and whose: what an encoder is told beside
the rows. See
SegmentEncoder::encode. - Segment
- One sealed segment: parquet bytes plus the catalog facts about what is in them.
Traits§
- Segment
Encoder - Turns a stream’s WAL rows into one parquet segment.
Functions§
- check_
encoder - Refuse a source written by a different encoder version than
encoderreports. Either side reporting nothing is not a mismatch: an encoder that does not version itself, or a source from before the key, is unchecked. - encode_
batch - Encode one
RecordBatchas a segment’s parquet bytes, with the archive’s writer properties. The usual last step of aSegmentEncoder::encode. - materialize
- Run an encoder over a run of WAL rows and validate the result.
- writer_
props - The parquet writer properties every segment in an archive is written with.
Type Aliases§
- Encode
Result - What an encoder returns.