pub struct AnalyzeTableQueryPlanRequest {Show 21 fields
pub identity: Option<Box<Identity>>,
pub context: Option<HashMap<String, String>>,
pub id: Option<Vec<String>>,
pub bypass_vector_index: Option<bool>,
pub columns: Option<Box<QueryTableRequestColumns>>,
pub distance_type: Option<String>,
pub ef: Option<i32>,
pub fast_search: Option<bool>,
pub filter: Option<String>,
pub full_text_query: Option<Box<QueryTableRequestFullTextQuery>>,
pub k: i32,
pub lower_bound: Option<f32>,
pub nprobes: Option<i32>,
pub offset: Option<i32>,
pub prefilter: Option<bool>,
pub refine_factor: Option<i32>,
pub upper_bound: Option<f32>,
pub vector: Box<QueryTableRequestVector>,
pub vector_column: Option<String>,
pub version: Option<i64>,
pub with_row_id: Option<bool>,
}Fields§
§identity: Option<Box<Identity>>§context: Option<HashMap<String, String>>Arbitrary context for a request as key-value pairs. How to use the context is custom to the specific implementation. REST NAMESPACE ONLY Context entries are passed via HTTP headers using the naming convention x-lance-ctx-<key>: <value>. For example, a context entry {\"trace_id\": \"abc123\"} would be sent as the header x-lance-ctx-trace_id: abc123.
id: Option<Vec<String>>§bypass_vector_index: Option<bool>Whether to bypass vector index
columns: Option<Box<QueryTableRequestColumns>>§distance_type: Option<String>Distance metric to use
ef: Option<i32>Search effort parameter for HNSW index
fast_search: Option<bool>Whether to use fast search
filter: Option<String>Optional SQL filter expression
full_text_query: Option<Box<QueryTableRequestFullTextQuery>>§k: i32Number of results to return
lower_bound: Option<f32>Lower bound for search
nprobes: Option<i32>Number of probes for IVF index
offset: Option<i32>Number of results to skip
prefilter: Option<bool>Whether to apply filtering before vector search
refine_factor: Option<i32>Refine factor for search
upper_bound: Option<f32>Upper bound for search
vector: Box<QueryTableRequestVector>§vector_column: Option<String>Name of the vector column to search
version: Option<i64>Table version to query
with_row_id: Option<bool>If true, return the row id as a column called _rowid
Implementations§
Source§impl AnalyzeTableQueryPlanRequest
impl AnalyzeTableQueryPlanRequest
pub fn new( k: i32, vector: QueryTableRequestVector, ) -> AnalyzeTableQueryPlanRequest
Trait Implementations§
Source§impl Clone for AnalyzeTableQueryPlanRequest
impl Clone for AnalyzeTableQueryPlanRequest
Source§fn clone(&self) -> AnalyzeTableQueryPlanRequest
fn clone(&self) -> AnalyzeTableQueryPlanRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AnalyzeTableQueryPlanRequest
impl Debug for AnalyzeTableQueryPlanRequest
Source§impl Default for AnalyzeTableQueryPlanRequest
impl Default for AnalyzeTableQueryPlanRequest
Source§fn default() -> AnalyzeTableQueryPlanRequest
fn default() -> AnalyzeTableQueryPlanRequest
Source§impl<'de> Deserialize<'de> for AnalyzeTableQueryPlanRequest
impl<'de> Deserialize<'de> for AnalyzeTableQueryPlanRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnalyzeTableQueryPlanRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnalyzeTableQueryPlanRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for AnalyzeTableQueryPlanRequest
impl PartialEq for AnalyzeTableQueryPlanRequest
Source§fn eq(&self, other: &AnalyzeTableQueryPlanRequest) -> bool
fn eq(&self, other: &AnalyzeTableQueryPlanRequest) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for AnalyzeTableQueryPlanRequest
impl Serialize for AnalyzeTableQueryPlanRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for AnalyzeTableQueryPlanRequest
Auto Trait Implementations§
impl Freeze for AnalyzeTableQueryPlanRequest
impl RefUnwindSafe for AnalyzeTableQueryPlanRequest
impl Send for AnalyzeTableQueryPlanRequest
impl Sync for AnalyzeTableQueryPlanRequest
impl Unpin for AnalyzeTableQueryPlanRequest
impl UnwindSafe for AnalyzeTableQueryPlanRequest
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
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>
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>
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