Trait datafusion::common::tree_node::DynTreeNode
source · pub trait DynTreeNode {
// Required methods
fn arc_children(&self) -> Vec<Arc<Self>>;
fn with_new_arc_children(
&self,
arc_self: Arc<Self>,
new_children: Vec<Arc<Self>>
) -> Result<Arc<Self>, DataFusionError>;
}
Expand description
Required Methods§
sourcefn arc_children(&self) -> Vec<Arc<Self>>
fn arc_children(&self) -> Vec<Arc<Self>>
Returns all children of the specified TreeNode
.
sourcefn with_new_arc_children(
&self,
arc_self: Arc<Self>,
new_children: Vec<Arc<Self>>
) -> Result<Arc<Self>, DataFusionError>
fn with_new_arc_children( &self, arc_self: Arc<Self>, new_children: Vec<Arc<Self>> ) -> Result<Arc<Self>, DataFusionError>
Constructs a new node with the specified children.
Object Safety§
This trait is not object safe.