Struct mz_repr::explain_new::ExplainConfig
source · pub struct ExplainConfig {
pub arity: bool,
pub join_impls: bool,
pub keys: bool,
pub linear_chains: bool,
pub non_negative: bool,
pub no_fast_path: bool,
pub raw_plans: bool,
pub raw_syntax: bool,
pub subtree_size: bool,
pub timing: bool,
pub types: bool,
}Expand description
A set of options for controlling the output of Explain implementations.
Fields§
§arity: boolShow the number of columns.
join_impls: boolRender implemented MIR Join nodes in a way which reflects the implementation.
keys: boolShow the sets of unique keys.
linear_chains: boolRestrict output trees to linear chains. Ignored if raw_plans is set.
non_negative: boolShow the non_negative in the explanation if it is supported by the backing IR.
no_fast_path: boolShow the slow path plan even if a fast path plan was created. Useful for debugging.
raw_plans: boolDon’t normalize plans before explaining them.
raw_syntax: boolDisable virtual syntax in the explanation.
subtree_size: boolShow the subtree_size attribute in the explanation if it is supported by the backing IR.
timing: boolPrint optimization timings (currently unsupported).
types: boolShow the type attribute in the explanation.
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
Returns a copy 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 Debug for ExplainConfig
impl Debug for ExplainConfig
Auto Trait Implementations§
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> 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>
Wrap the input message
T in a tonic::Requestsource§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>
See
RustType::from_proto.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto.