Skip to main content

Crate riegeli

Crate riegeli 

Source
Expand description

Pure-Rust implementation of the Riegeli/records file format.

Riegeli is a high-performance, seekable, compressed record store used in machine learning and data pipelines. This crate provides byte-level interoperability with the C++ reference implementation.

Re-exports§

pub use proto_generated::RecordsMetadata;

Modules§

proto
Protobuf field-level streaming I/O.
proto_generated
varint
Variable-length integer encoding/decoding (LEB128, protobuf-compatible).

Structs§

CompressOptions
Compression tuning options passed to low-level compression functions.
Field
A proto field path from the root message, represented as a sequence of field numbers.
FieldProjection
A set of proto field paths used to prune columns at read time.
ReaderOptions
Options for configuring a RecordReader.
RecordPosition
A logical position within a Riegeli file identifying a specific record.
RecordReader
A reader that parses a Riegeli file record by record.
RecordWriter
A writer that produces a valid Riegeli file.
SkippedRegion
A region of invalid file content skipped by the recovery mechanism.
WriterOptions
Options for configuring a RecordWriter.

Enums§

CompressionType
The compression algorithm applied to the record data inside a chunk.
RiegeliError
A decoded error from chunk operations.