pub struct GroupByVectorQuery { /* private fields */ }Implementations§
Source§impl GroupByVectorQuery
impl GroupByVectorQuery
pub fn new() -> Result<Self>
pub fn field_name(&self) -> Option<String>
pub fn set_field_name(&mut self, name: &str) -> Result<()>
pub fn group_by_field_name(&self) -> Option<String>
pub fn set_group_by_field_name(&mut self, name: &str) -> Result<()>
pub fn group_count(&self) -> u32
pub fn set_group_count(&mut self, n: u32) -> Result<()>
pub fn group_topk(&self) -> u32
pub fn set_group_topk(&mut self, n: u32) -> Result<()>
pub fn set_query_vector_raw(&mut self, bytes: &[u8]) -> Result<()>
pub fn set_query_vector_fp32(&mut self, vec: &[f32]) -> Result<()>
pub fn filter(&self) -> Option<String>
pub fn set_filter(&mut self, filter: &str) -> Result<()>
pub fn include_vector(&self) -> bool
pub fn set_include_vector(&mut self, b: bool) -> Result<()>
pub fn set_output_fields(&mut self, fields: &[&str]) -> Result<()>
pub fn output_fields(&self) -> Result<Vec<String>>
pub fn set_hnsw_params(&mut self, params: HnswQueryParams) -> Result<()>
pub fn set_ivf_params(&mut self, params: IvfQueryParams) -> Result<()>
pub fn set_flat_params(&mut self, params: FlatQueryParams) -> Result<()>
Trait Implementations§
Source§impl Drop for GroupByVectorQuery
impl Drop for GroupByVectorQuery
impl Send for GroupByVectorQuery
Auto Trait Implementations§
impl Freeze for GroupByVectorQuery
impl RefUnwindSafe for GroupByVectorQuery
impl !Sync for GroupByVectorQuery
impl Unpin for GroupByVectorQuery
impl UnsafeUnpin for GroupByVectorQuery
impl UnwindSafe for GroupByVectorQuery
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