pub struct UpdateCollectionBuilder { /* private fields */ }
Expand description
Builder for UpdateCollection
.
Implementations§
source§impl UpdateCollectionBuilder
impl UpdateCollectionBuilder
sourcepub fn collection_name(self, value: String) -> Self
pub fn collection_name(self, value: String) -> Self
Name of the collection
sourcepub fn optimizers_config<VALUE: Into<OptimizersConfigDiff>>(
self,
value: VALUE,
) -> Self
pub fn optimizers_config<VALUE: Into<OptimizersConfigDiff>>( self, value: VALUE, ) -> Self
New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete
sourcepub fn timeout(self, value: u64) -> Self
pub fn timeout(self, value: u64) -> Self
Wait timeout for operation commit in seconds if blocking, if not specified - default value will be supplied
sourcepub fn params<VALUE: Into<CollectionParamsDiff>>(self, value: VALUE) -> Self
pub fn params<VALUE: Into<CollectionParamsDiff>>(self, value: VALUE) -> Self
New configuration parameters for the collection
sourcepub fn hnsw_config<VALUE: Into<HnswConfigDiff>>(self, value: VALUE) -> Self
pub fn hnsw_config<VALUE: Into<HnswConfigDiff>>(self, value: VALUE) -> Self
New HNSW parameters for the collection index
sourcepub fn vectors_config<VALUE: Into<VectorsConfigDiff>>(
self,
value: VALUE,
) -> Self
pub fn vectors_config<VALUE: Into<VectorsConfigDiff>>( self, value: VALUE, ) -> Self
New vector parameters
sourcepub fn quantization_config<VALUE: Into<Quantization>>(
self,
value: VALUE,
) -> Self
pub fn quantization_config<VALUE: Into<Quantization>>( self, value: VALUE, ) -> Self
Quantization configuration of vector
sourcepub fn sparse_vectors_config<VALUE: Into<SparseVectorConfig>>(
self,
value: VALUE,
) -> Self
pub fn sparse_vectors_config<VALUE: Into<SparseVectorConfig>>( self, value: VALUE, ) -> Self
New sparse vector parameters
source§impl UpdateCollectionBuilder
impl UpdateCollectionBuilder
sourcepub fn build(self) -> UpdateCollection
pub fn build(self) -> UpdateCollection
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl From<UpdateCollectionBuilder> for UpdateCollection
impl From<UpdateCollectionBuilder> for UpdateCollection
source§fn from(value: UpdateCollectionBuilder) -> Self
fn from(value: UpdateCollectionBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdateCollectionBuilder
impl RefUnwindSafe for UpdateCollectionBuilder
impl Send for UpdateCollectionBuilder
impl Sync for UpdateCollectionBuilder
impl Unpin for UpdateCollectionBuilder
impl UnwindSafe for UpdateCollectionBuilder
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request