Skip to main content

Module archive_io

Module archive_io 

Source
Expand description

Reading and writing whole archived sample files.

Shared by the recompress and dedupe tools. Both read an archived file fully into memory with read_archive and write files in the current format with write_archive, which uses the same schema and writer settings as the archiver.

Structs§

Archive
Contents of one archived file, held fully in memory.

Constants§

ROWS_PER_ROW_GROUP
Rows per row group in rewritten files (1,048,576); matches the archiver.

Functions§

read_archive
Reads every row and the key-value metadata of an archived file.
read_column 🔒
Reads every value of one column in a row group.
write_archive
Writes rows in the current archive format and syncs the file to disk.