pub struct ExplainExecutionNodeDescriptor { /* private fields */ }Expand description
ExplainExecutionNodeDescriptor
Canonical execution-node descriptor used by EXPLAIN text/verbose/json renderers. Optional fields are node-family specific and are additive.
Implementations§
Source§impl ExplainExecutionNodeDescriptor
impl ExplainExecutionNodeDescriptor
Sourcepub const fn node_type(&self) -> ExplainExecutionNodeType
pub const fn node_type(&self) -> ExplainExecutionNodeType
Return node type.
Sourcepub const fn execution_mode(&self) -> ExplainExecutionMode
pub const fn execution_mode(&self) -> ExplainExecutionMode
Return execution mode.
Sourcepub const fn access_strategy(&self) -> Option<&ExplainAccessPath>
pub const fn access_strategy(&self) -> Option<&ExplainAccessPath>
Borrow optional access strategy annotation.
Sourcepub fn predicate_pushdown(&self) -> Option<&str>
pub fn predicate_pushdown(&self) -> Option<&str>
Borrow optional predicate pushdown annotation.
Sourcepub const fn residual_predicate(&self) -> Option<&ExplainPredicate>
pub const fn residual_predicate(&self) -> Option<&ExplainPredicate>
Borrow optional residual predicate annotation.
Sourcepub fn projection(&self) -> Option<&str>
pub fn projection(&self) -> Option<&str>
Borrow optional projection annotation.
Sourcepub const fn ordering_source(&self) -> Option<ExplainExecutionOrderingSource>
pub const fn ordering_source(&self) -> Option<ExplainExecutionOrderingSource>
Return optional ordering source annotation.
Sourcepub const fn covering_scan(&self) -> Option<bool>
pub const fn covering_scan(&self) -> Option<bool>
Return optional covering-scan annotation.
Sourcepub const fn rows_expected(&self) -> Option<u64>
pub const fn rows_expected(&self) -> Option<u64>
Return optional row-count expectation annotation.
Sourcepub const fn node_properties(&self) -> &BTreeMap<String, Value>
pub const fn node_properties(&self) -> &BTreeMap<String, Value>
Borrow node properties.
pub fn render_text_tree(&self) -> String
pub fn render_json_canonical(&self) -> String
pub fn render_text_tree_verbose(&self) -> String
Trait Implementations§
Source§impl Clone for ExplainExecutionNodeDescriptor
impl Clone for ExplainExecutionNodeDescriptor
Source§fn clone(&self) -> ExplainExecutionNodeDescriptor
fn clone(&self) -> ExplainExecutionNodeDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for ExplainExecutionNodeDescriptor
impl PartialEq for ExplainExecutionNodeDescriptor
Source§fn eq(&self, other: &ExplainExecutionNodeDescriptor) -> bool
fn eq(&self, other: &ExplainExecutionNodeDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExplainExecutionNodeDescriptor
impl StructuralPartialEq for ExplainExecutionNodeDescriptor
Auto Trait Implementations§
impl Freeze for ExplainExecutionNodeDescriptor
impl RefUnwindSafe for ExplainExecutionNodeDescriptor
impl Send for ExplainExecutionNodeDescriptor
impl Sync for ExplainExecutionNodeDescriptor
impl Unpin for ExplainExecutionNodeDescriptor
impl UnsafeUnpin for ExplainExecutionNodeDescriptor
impl UnwindSafe for ExplainExecutionNodeDescriptor
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