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§
Structs§
- Bundle
Header - Bundle header (24 bytes).
- Header
- PARX file header structure (16 bytes total).
- Parx
Bundle Reader - Reader for PARX bundle files.
- Parx
Bundle Writer - Writer for PARX bundle files.
- Parx
Reader - Reader for PARX sidecar files.
- Parx
Writer - Writer for PARX sidecar files.
- Trailer
- PARX file trailer (12 bytes, at EOF).
Enums§
- Compression
- Compression algorithm used for footer data.
- Parx
Error - 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.