#[non_exhaustive]pub struct ChildLink {
pub child_index: i32,
pub type: String,
pub variable: String,
/* private fields */
}Expand description
Metadata associated with a parent-child relationship appearing in a PlanNode.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.child_index: i32The node to which the link points.
type: StringThe 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: StringOnly 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.
Implementations§
Source§impl ChildLink
impl ChildLink
Sourcepub fn set_child_index<T: Into<i32>>(self, v: T) -> Self
pub fn set_child_index<T: Into<i32>>(self, v: T) -> Self
Sets the value of child_index.
Sourcepub fn set_variable<T: Into<String>>(self, v: T) -> Self
pub fn set_variable<T: Into<String>>(self, v: T) -> Self
Sets the value of variable.
Trait Implementations§
impl StructuralPartialEq 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 UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request