Struct datafusion::logical_plan::plan::StringifiedPlan
source · [−]Expand description
Represents some sort of execution plan, in String form
Fields
plan_type: PlanType
An identifier of what type of plan this string represents
plan: Arc<String>
The string representation of the plan
Implementations
sourceimpl StringifiedPlan
impl StringifiedPlan
sourcepub fn new(plan_type: PlanType, plan: impl Into<String>) -> Self
pub fn new(plan_type: PlanType, plan: impl Into<String>) -> Self
Create a new Stringified plan of plan_type
with string
representation plan
sourcepub fn should_display(&self, verbose_mode: bool) -> bool
pub fn should_display(&self, verbose_mode: bool) -> bool
returns true if this plan should be displayed. Generally
verbose_mode = true
will display all available plans
Trait Implementations
sourceimpl Clone for StringifiedPlan
impl Clone for StringifiedPlan
sourcefn clone(&self) -> StringifiedPlan
fn clone(&self) -> StringifiedPlan
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StringifiedPlan
impl Debug for StringifiedPlan
sourceimpl PartialEq<StringifiedPlan> for StringifiedPlan
impl PartialEq<StringifiedPlan> for StringifiedPlan
sourcefn eq(&self, other: &StringifiedPlan) -> bool
fn eq(&self, other: &StringifiedPlan) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StringifiedPlan) -> bool
fn ne(&self, other: &StringifiedPlan) -> bool
This method tests for !=
.
impl StructuralPartialEq for StringifiedPlan
Auto Trait Implementations
impl RefUnwindSafe for StringifiedPlan
impl Send for StringifiedPlan
impl Sync for StringifiedPlan
impl Unpin for StringifiedPlan
impl UnwindSafe for StringifiedPlan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more