pub struct BinaryIndexBuilder { /* private fields */ }
Expand description
Builder for creating binary file indexes
Implementations§
Source§impl BinaryIndexBuilder
impl BinaryIndexBuilder
Sourcepub fn with_quick_filter_threshold(self, threshold: u32) -> Self
pub fn with_quick_filter_threshold(self, threshold: u32) -> Self
Set the threshold for enabling quick filter data
Sourcepub fn with_quick_filter_batch_size(self, batch_size: usize) -> Self
pub fn with_quick_filter_batch_size(self, batch_size: usize) -> Self
Set the batch size for quick filter data
Sourcepub fn with_bloom_filter_params(self, params: BloomFilterParams) -> Self
pub fn with_bloom_filter_params(self, params: BloomFilterParams) -> Self
Set bloom filter parameters
Sourcepub fn build_index<P: AsRef<Path>>(
&self,
binary_path: P,
) -> Result<BinaryIndex, BinaryExportError>
pub fn build_index<P: AsRef<Path>>( &self, binary_path: P, ) -> Result<BinaryIndex, BinaryExportError>
Build an index for the specified binary file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BinaryIndexBuilder
impl RefUnwindSafe for BinaryIndexBuilder
impl Send for BinaryIndexBuilder
impl Sync for BinaryIndexBuilder
impl Unpin for BinaryIndexBuilder
impl UnwindSafe for BinaryIndexBuilder
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
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