pub struct ParxBundleWriter { /* private fields */ }Expand description
Writer for PARX bundle files.
Combines multiple Parquet file footers into a single bundle file.
Implementations§
Source§impl ParxBundleWriter
impl ParxBundleWriter
Sourcepub fn add_entry(
&mut self,
parquet_path: &str,
source_size: u64,
footer_bytes: impl Into<Bytes>,
)
pub fn add_entry( &mut self, parquet_path: &str, source_size: u64, footer_bytes: impl Into<Bytes>, )
Add an entry to the bundle.
Sourcepub fn add_entry_with_page_indexes(
&mut self,
parquet_path: &str,
source_size: u64,
footer_bytes: impl Into<Bytes>,
page_index_bytes: impl Into<Bytes>,
)
pub fn add_entry_with_page_indexes( &mut self, parquet_path: &str, source_size: u64, footer_bytes: impl Into<Bytes>, page_index_bytes: impl Into<Bytes>, )
Add an entry to the bundle with optional page indexes.
Sourcepub fn entry_count(&self) -> usize
pub fn entry_count(&self) -> usize
Get the number of entries in the bundle.
Trait Implementations§
Source§impl Debug for ParxBundleWriter
impl Debug for ParxBundleWriter
Auto Trait Implementations§
impl Freeze for ParxBundleWriter
impl RefUnwindSafe for ParxBundleWriter
impl Send for ParxBundleWriter
impl Sync for ParxBundleWriter
impl Unpin for ParxBundleWriter
impl UnsafeUnpin for ParxBundleWriter
impl UnwindSafe for ParxBundleWriter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more