pub struct VectorIndexOpts<'a> {
pub type_name: Option<&'a str>,
pub partitions: Option<u32>,
pub m: Option<u32>,
pub ef_construction: Option<u32>,
pub sub_vectors: Option<u32>,
pub num_bits: Option<u8>,
pub k_sim: Option<u32>,
pub reps: Option<u32>,
pub d_proj: Option<u32>,
pub seed: Option<u64>,
pub inner: Option<&'a str>,
}Expand description
Raw, already-typed vector-index options collected from either entry point. Each
field is the user-supplied value or None (→ the canonical default below).
Fields§
§type_name: Option<&'a str>The ANN/index subtype name (flat, ivf_pq, hnsw_sq, muvera, …). For the
DDL path this is OPTIONS.type; for the procedure it is the algorithm field.
partitions: Option<u32>§m: Option<u32>§ef_construction: Option<u32>§sub_vectors: Option<u32>§num_bits: Option<u8>§k_sim: Option<u32>§reps: Option<u32>§d_proj: Option<u32>§seed: Option<u64>§inner: Option<&'a str>The single-vector ANN type built over the MUVERA FDE column.
Trait Implementations§
Source§impl<'a> Clone for VectorIndexOpts<'a>
impl<'a> Clone for VectorIndexOpts<'a>
Source§fn clone(&self) -> VectorIndexOpts<'a>
fn clone(&self) -> VectorIndexOpts<'a>
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<'a> Debug for VectorIndexOpts<'a>
impl<'a> Debug for VectorIndexOpts<'a>
Source§impl<'a> Default for VectorIndexOpts<'a>
impl<'a> Default for VectorIndexOpts<'a>
Source§fn default() -> VectorIndexOpts<'a>
fn default() -> VectorIndexOpts<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for VectorIndexOpts<'a>
impl<'a> RefUnwindSafe for VectorIndexOpts<'a>
impl<'a> Send for VectorIndexOpts<'a>
impl<'a> Sync for VectorIndexOpts<'a>
impl<'a> Unpin for VectorIndexOpts<'a>
impl<'a> UnsafeUnpin for VectorIndexOpts<'a>
impl<'a> UnwindSafe for VectorIndexOpts<'a>
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