pub enum TraceEvent {
ScanStart {
limit: u64,
},
ScanPage {
rows: usize,
elapsed_us: u128,
},
Join {
strategy: JoinStrategy,
},
Path,
SubSelectBuild,
ExistsSemiBuild,
CustomOpMemoHit {
plugin: &'static str,
op: &'static str,
},
GeoDrainMemoHit {
terms: usize,
},
}Expand description
Structured execution-trace event (scan / join / path / RPC timing).
Variants§
ScanStart
About to issue a hexastore scan RPC.
ScanPage
One scan page returned.
Join
Inner-join strategy chosen at execution.
Fields
strategy: JoinStrategyBroadcast / hash / shuffle.
Path
Property-path walker entry.
SubSelectBuild
A nested SELECT (PlanNode::SubSelect) boundary was materialized.
The opaque boundary evaluates independently, so a query whose left side streams B batches should see exactly one of these per boundary (the built relation is reused across batches).
ExistsSemiBuild
FILTER EXISTS SemiJoin materialized the unbound inner once
(SemiJoinSet / Grace files). OpenNode reuses it across later pages.
CustomOpMemoHit
A childless CustomOp execution hit the query-local memo instead of re-draining the plugin (EXISTS re-opens, expr-subst groups, duplicate conjuncts). Keeps cost attribution honest: one drain, N hits.
Fields
GeoDrainMemoHit
A GeoCandidateScan window was served from the geo drain memo
instead of re-draining the partition (keyed semi-join pages 2..N,
EXISTS re-opens, ops the whole-result memo refuses). The candidate
window is key-invariant, so this hit is always sound; keeps cost
attribution honest: one drain per window, N hits.
Trait Implementations§
Source§impl Clone for TraceEvent
impl Clone for TraceEvent
Source§fn clone(&self) -> TraceEvent
fn clone(&self) -> TraceEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TraceEvent
impl Debug for TraceEvent
Source§impl Display for TraceEvent
impl Display for TraceEvent
Source§impl PartialEq for TraceEvent
impl PartialEq for TraceEvent
impl Eq for TraceEvent
impl StructuralPartialEq for TraceEvent
Auto Trait Implementations§
impl Freeze for TraceEvent
impl RefUnwindSafe for TraceEvent
impl Send for TraceEvent
impl Sync for TraceEvent
impl Unpin for TraceEvent
impl UnsafeUnpin for TraceEvent
impl UnwindSafe for TraceEvent
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].