pub struct ChildLink {
pub child_index: Option<i32>,
pub type_: Option<String>,
pub variable: Option<String>,
}
Expand description
Metadata associated with a parent-child relationship appearing in a PlanNode.
This type is not used in any activity, and only used as part of another schema.
Fields§
§child_index: Option<i32>
The node to which the link points.
type_: Option<String>
The type of the link. For example, in Hash Joins this could be used to distinguish between the build child and the probe child, or in the case of the child being an output variable, to represent the tag associated with the output variable.
variable: Option<String>
Only present if the child node is SCALAR and corresponds to an output variable of the parent node. The field carries the name of the output variable. For example, a TableScan
operator that reads rows from a table will have child links to the SCALAR
nodes representing the output variables created for each column that is read by the operator. The corresponding variable
fields will be set to the variable names assigned to the columns.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChildLink
impl<'de> Deserialize<'de> for ChildLink
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for ChildLink
Auto Trait Implementations§
impl Freeze for ChildLink
impl RefUnwindSafe for ChildLink
impl Send for ChildLink
impl Sync for ChildLink
impl Unpin for ChildLink
impl UnwindSafe for ChildLink
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> 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> 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