Skip to main content

Crate parx_rs

Crate parx_rs 

Source
Expand description

PARX Core Library

This crate provides the core functionality for reading and writing PARX sidecar files. PARX files cache Parquet footer metadata to accelerate query planning on object stores.

Re-exports§

pub use proto::BundleEntry;
pub use proto::ParxBundle;
pub use proto::ParxManifest;

Modules§

proto

Structs§

BundleHeader
Bundle header (24 bytes).
Header
PARX file header structure (16 bytes total).
ParxBundleReader
Reader for PARX bundle files.
ParxBundleWriter
Writer for PARX bundle files.
ParxReader
Reader for PARX sidecar files.
ParxWriter
Writer for PARX sidecar files.
Trailer
PARX file trailer (12 bytes, at EOF).

Enums§

Compression
Compression algorithm used for footer data.
ParxError
Errors that can occur when reading or writing PARX files.

Constants§

BUNDLE_FILENAME
Default bundle filename.
BUNDLE_HEADER_SIZE
Size of the PARX bundle header in bytes.
HEADER_SIZE
Size of the PARX header in bytes.
TRAILER_SIZE
Size of the PARX trailer in bytes.
VERSION_MAJOR
Current major version of the PARX format.
VERSION_MINOR
Current minor version of the PARX format.

Functions§

compress
Compress data using the specified algorithm.
decompress
Decompress data using the specified algorithm.

Type Aliases§

Result
Result type for PARX operations.