pub struct DataBlockBuilderOptions {
pub restart_interval: usize,
pub block_size_target: Option<usize>,
pub enable_checksums: bool,
}
Expand description
Configuration options for DataBlockBuilder
Fields§
§restart_interval: usize
Number of entries between restart points for prefix compression
block_size_target: Option<usize>
Target block size in bytes (for future use)
enable_checksums: bool
Whether to enable checksum verification (for future use)
Implementations§
Source§impl DataBlockBuilderOptions
impl DataBlockBuilderOptions
Sourcepub fn with_restart_interval(self, restart_interval: usize) -> Self
pub fn with_restart_interval(self, restart_interval: usize) -> Self
Set the restart interval
Sourcepub fn with_block_size_target(self, size: usize) -> Self
pub fn with_block_size_target(self, size: usize) -> Self
Set the target block size
Sourcepub fn with_checksums(self, enable: bool) -> Self
pub fn with_checksums(self, enable: bool) -> Self
Enable checksum verification
Trait Implementations§
Source§impl Clone for DataBlockBuilderOptions
impl Clone for DataBlockBuilderOptions
Source§fn clone(&self) -> DataBlockBuilderOptions
fn clone(&self) -> DataBlockBuilderOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DataBlockBuilderOptions
impl Debug for DataBlockBuilderOptions
Auto Trait Implementations§
impl Freeze for DataBlockBuilderOptions
impl RefUnwindSafe for DataBlockBuilderOptions
impl Send for DataBlockBuilderOptions
impl Sync for DataBlockBuilderOptions
impl Unpin for DataBlockBuilderOptions
impl UnwindSafe for DataBlockBuilderOptions
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