pub struct BfTreePaths;Expand description
Helper struct for generating consistent file paths for BfTreeProvider persistence. Centralizes all path patterns to avoid hardcoded strings throughout the codebase.
Implementations§
Source§impl BfTreePaths
impl BfTreePaths
Sourcepub fn params_json(prefix: &str) -> String
pub fn params_json(prefix: &str) -> String
Returns the path for the parameters JSON file
Sourcepub fn vectors_bftree(prefix: &str) -> PathBuf
pub fn vectors_bftree(prefix: &str) -> PathBuf
Returns the path for the vectors BfTree file
Sourcepub fn neighbors_bftree(prefix: &str) -> PathBuf
pub fn neighbors_bftree(prefix: &str) -> PathBuf
Returns the path for the neighbors BfTree file
Sourcepub fn quant_bftree(prefix: &str) -> PathBuf
pub fn quant_bftree(prefix: &str) -> PathBuf
Returns the path for the quantized vectors BfTree file
Sourcepub fn delete_bin(prefix: &str) -> String
pub fn delete_bin(prefix: &str) -> String
Returns the path for the delete bitmap file
Sourcepub fn quant_data_bin(prefix: &str) -> String
pub fn quant_data_bin(prefix: &str) -> String
Returns the path for the spherical quantizer data file
Auto Trait Implementations§
impl Freeze for BfTreePaths
impl RefUnwindSafe for BfTreePaths
impl Send for BfTreePaths
impl Sync for BfTreePaths
impl Unpin for BfTreePaths
impl UnsafeUnpin for BfTreePaths
impl UnwindSafe for BfTreePaths
Blanket Implementations§
impl<T> AsyncFriendly for T
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