pub struct VectorStore { /* private fields */ }Implementations§
Source§impl VectorStore
impl VectorStore
pub fn new(store: Store) -> Self
pub fn upsert( &self, namespace: &str, index: &str, partition: &str, input: VectorUpsertInput, ) -> Result<VectorUpsertResult>
pub fn query( &self, namespace: &str, index: &str, partition: &str, input: VectorQueryInput, ) -> Result<VectorQueryResult>
pub fn delete( &self, namespace: &str, index: &str, partition: &str, input: VectorDeleteInput, ) -> Result<VectorDeleteResult>
pub fn flush(&self) -> Result<()>
pub fn rebuild_ann( &self, namespace: &str, index: &str, partition: &str, dimensions: usize, ) -> Result<usize>
pub fn rebuild_ann_with_config( &self, namespace: &str, index: &str, partition: &str, config: AnnConfig, ) -> Result<usize>
Trait Implementations§
Source§impl Clone for VectorStore
impl Clone for VectorStore
Source§fn clone(&self) -> VectorStore
fn clone(&self) -> VectorStore
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for VectorStore
impl !UnwindSafe for VectorStore
impl Freeze for VectorStore
impl Send for VectorStore
impl Sync for VectorStore
impl Unpin for VectorStore
impl UnsafeUnpin for VectorStore
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