pub enum DisplayFormatType {
Default,
Verbose,
TreeRender,
}
Expand description
Options for controlling how each ExecutionPlan
should format itself
Variants§
Default
Default, compact format. Example: FilterExec: c12 < 10.0
This format is designed to provide a detailed textual description of all parts of the plan.
Verbose
Verbose, showing all available details.
This form is even more detailed than Self::Default
TreeRender
TreeRender, displayed in the tree
explain type.
This format is inspired by DuckDB’s explain plans. The information
presented should be “user friendly”, and contain only the most relevant
information for understanding a plan. It should NOT contain the same level
of detail information as the Self::Default
format.
In this mode, each line has one of two formats:
-
A string without a
=
, which is printed in its own line -
A string with a
=
that is treated as akey=value pair
. Everything before the first=
is treated as the key, and everything after the first=
is treated as the value.
For example, if the output of TreeRender
is this:
Parquet
partition_sizes=[1]
It is rendered in the center of a box in the following way:
┌───────────────────────────┐
│ DataSourceExec │
│ -------------------- │
│ partition_sizes: [1] │
│ Parquet │
└───────────────────────────┘
Trait Implementations§
Source§impl Clone for DisplayFormatType
impl Clone for DisplayFormatType
Source§fn clone(&self) -> DisplayFormatType
fn clone(&self) -> DisplayFormatType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DisplayFormatType
impl Debug for DisplayFormatType
Source§impl PartialEq for DisplayFormatType
impl PartialEq for DisplayFormatType
impl Copy for DisplayFormatType
impl StructuralPartialEq for DisplayFormatType
Auto Trait Implementations§
impl Freeze for DisplayFormatType
impl RefUnwindSafe for DisplayFormatType
impl Send for DisplayFormatType
impl Sync for DisplayFormatType
impl Unpin for DisplayFormatType
impl UnwindSafe for DisplayFormatType
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§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>
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>
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 more