pub struct SSTableBuilderOptions {
pub block_size: usize,
pub restart_interval: usize,
pub compression: BlockType,
pub filter_policy: Option<Box<dyn FilterPolicy>>,
pub use_block_hash_index: bool,
pub use_two_level_index: bool,
}Expand description
Builder options
Fields§
§block_size: usizeTarget block size in bytes
restart_interval: usizeRestart interval for prefix compression
compression: BlockTypeBlock compression type
filter_policy: Option<Box<dyn FilterPolicy>>Filter policy (None = no filter)
use_block_hash_index: boolUse hash index for blocks
use_two_level_index: boolEnable two-level index for large tables
Trait Implementations§
Source§impl Clone for SSTableBuilderOptions
impl Clone for SSTableBuilderOptions
Source§fn clone(&self) -> SSTableBuilderOptions
fn clone(&self) -> SSTableBuilderOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SSTableBuilderOptions
impl Debug for SSTableBuilderOptions
Auto Trait Implementations§
impl !RefUnwindSafe for SSTableBuilderOptions
impl !UnwindSafe for SSTableBuilderOptions
impl Freeze for SSTableBuilderOptions
impl Send for SSTableBuilderOptions
impl Sync for SSTableBuilderOptions
impl Unpin for SSTableBuilderOptions
impl UnsafeUnpin for SSTableBuilderOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more