Struct mz_repr::explain::ExplainConfig
source · pub struct ExplainConfig {Show 19 fields
pub arity: bool,
pub cardinality: bool,
pub column_names: bool,
pub join_impls: bool,
pub humanized_exprs: bool,
pub keys: bool,
pub linear_chains: bool,
pub non_negative: bool,
pub no_fast_path: bool,
pub no_notices: bool,
pub node_ids: bool,
pub raw_plans: bool,
pub raw_syntax: bool,
pub redacted: bool,
pub subtree_size: bool,
pub timing: bool,
pub types: bool,
pub filter_pushdown: bool,
pub features: OptimizerFeatureOverrides,
}
Expand description
A set of options for controlling the output of Explain
implementations.
Fields§
§arity: bool
Show the number of columns.
cardinality: bool
Show cardinality information.
column_names: bool
Show inferred column names.
join_impls: bool
Render implemented MIR Join
nodes in a way which reflects the implementation.
humanized_exprs: bool
Use inferred column names when rendering scalar and aggregate expressions.
keys: bool
Show the sets of unique keys.
linear_chains: bool
Restrict output trees to linear chains. Ignored if raw_plans
is set.
non_negative: bool
Show the non_negative
in the explanation if it is supported by the backing IR.
no_fast_path: bool
Show the slow path plan even if a fast path plan was created. Useful for debugging.
Enforced if timing
is set.
no_notices: bool
Don’t print optimizer hints.
node_ids: bool
Show node IDs in physical plans.
raw_plans: bool
Don’t normalize plans before explaining them.
raw_syntax: bool
Disable virtual syntax in the explanation.
redacted: bool
Anonymize literals in the plan.
subtree_size: bool
Show the subtree_size
attribute in the explanation if it is supported by the backing IR.
timing: bool
Print optimization timings.
types: bool
Show the type
attribute in the explanation.
filter_pushdown: bool
Show MFP pushdown information.
features: OptimizerFeatureOverrides
Optimizer feature flags.
Implementations§
source§impl ExplainConfig
impl ExplainConfig
pub fn requires_attributes(&self) -> bool
Trait Implementations§
source§impl Clone for ExplainConfig
impl Clone for ExplainConfig
source§fn clone(&self) -> ExplainConfig
fn clone(&self) -> ExplainConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExplainConfig
impl Debug for ExplainConfig
Auto Trait Implementations§
impl Freeze for ExplainConfig
impl RefUnwindSafe for ExplainConfig
impl Send for ExplainConfig
impl Sync for ExplainConfig
impl Unpin for ExplainConfig
impl UnwindSafe for ExplainConfig
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
source§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto
.source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
std::ops::AddAssign
, for types that do not implement AddAssign
.