pub struct QueryStats {
pub nodes_scanned: u64,
pub edges_scanned: u64,
pub rows_scanned: u64,
pub segments_total: u64,
pub segments_scanned: u64,
pub segments_pruned: u64,
pub exec_time_us: u64,
pub vector: Option<VectorQueryStats>,
}Expand description
Query execution statistics
Fields§
§nodes_scanned: u64Number of nodes scanned
edges_scanned: u64Number of edges scanned
rows_scanned: u64Number of rows scanned
segments_total: u64Number of queryable segments considered by the scan
segments_scanned: u64Number of queryable segments actually scanned
segments_pruned: u64Number of queryable segments skipped by metadata pruning
exec_time_us: u64Execution time in microseconds
vector: Option<VectorQueryStats>Measurements from the runtime VECTOR SEARCH pipeline, when executed.
Implementations§
Source§impl QueryStats
impl QueryStats
Sourcepub fn merge(a: &QueryStats, b: &QueryStats) -> QueryStats
pub fn merge(a: &QueryStats, b: &QueryStats) -> QueryStats
Merge two QueryStats
Trait Implementations§
Source§impl Clone for QueryStats
impl Clone for QueryStats
Source§fn clone(&self) -> QueryStats
fn clone(&self) -> QueryStats
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 Debug for QueryStats
impl Debug for QueryStats
Source§impl Default for QueryStats
impl Default for QueryStats
Source§fn default() -> QueryStats
fn default() -> QueryStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for QueryStats
impl Freeze for QueryStatswhere
*const u8 is !null: Freeze,
PhantomData<VectorOperatorStats>: Freeze,
PhantomData<u8>: Freeze,
impl Move for QueryStats
impl RefUnwindSafe for QueryStats
impl Send for QueryStatswhere
RawVecInner: Send,
impl Sync for QueryStatswhere
RawVecInner: Sync,
impl Unpin for QueryStats
impl UnsafeUnpin for QueryStatswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<VectorOperatorStats>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for QueryStatswhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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 moreSource§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