Struct datafusion_expr::logical_plan::StringifiedPlan
source · pub struct StringifiedPlan {
pub plan_type: PlanType,
pub plan: Arc<String, Global>,
}
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, Global>
The string representation of the plan
Implementations§
source§impl StringifiedPlan
impl StringifiedPlan
sourcepub fn new(plan_type: PlanType, plan: impl Into<String>) -> StringifiedPlan
pub fn new(plan_type: PlanType, plan: impl Into<String>) -> StringifiedPlan
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§
source§impl Clone for StringifiedPlan
impl Clone for StringifiedPlan
source§fn clone(&self) -> StringifiedPlan
fn clone(&self) -> StringifiedPlan
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 StringifiedPlan
impl Debug for StringifiedPlan
source§impl Hash for StringifiedPlan
impl Hash for StringifiedPlan
source§impl PartialEq<StringifiedPlan> for StringifiedPlan
impl PartialEq<StringifiedPlan> for StringifiedPlan
source§fn 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 ==
.impl Eq for StringifiedPlan
impl StructuralEq for StringifiedPlan
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§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.