pub struct PhysicalPlan {
pub root: LogicalNode,
pub index_type: IndexType,
pub use_hybrid: bool,
pub pre_filter: bool,
pub filter_predicate: Option<String>,
pub estimated_cost: f32,
pub candidate_k: usize,
pub output_k: usize,
pub output_columns: Vec<String>,
}Fields§
§root: LogicalNodeThe root logical node.
index_type: IndexTypeWhich index backend to use.
use_hybrid: boolWhether to run hybrid retrieval.
pre_filter: boolWhether to apply metadata filter BEFORE the vector scan.
filter_predicate: Option<String>The scalar predicate to apply (serialised JSON), if any.
estimated_cost: f32Estimated cost in arbitrary units.
candidate_k: usizeHow many dense candidates to fetch (output_k * oversample).
output_k: usizeFinal k — how many results to return after filtering and sorting.
output_columns: Vec<String>Columns to project onto results. Empty means SELECT * (keep everything).
Trait Implementations§
Source§impl Clone for PhysicalPlan
impl Clone for PhysicalPlan
Auto Trait Implementations§
impl Freeze for PhysicalPlan
impl RefUnwindSafe for PhysicalPlan
impl Send for PhysicalPlan
impl Sync for PhysicalPlan
impl Unpin for PhysicalPlan
impl UnsafeUnpin for PhysicalPlan
impl UnwindSafe for PhysicalPlan
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> 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