[][src]Struct google_spanner1::PlanNode

pub struct PlanNode {
    pub index: Option<i32>,
    pub kind: Option<String>,
    pub display_name: Option<String>,
    pub execution_stats: Option<HashMap<String, String>>,
    pub child_links: Option<Vec<ChildLink>>,
    pub short_representation: Option<ShortRepresentation>,
    pub metadata: Option<HashMap<String, String>>,
}

Node information for nodes appearing in a QueryPlan.plan_nodes.

This type is not used in any activity, and only used as part of another schema.

Fields

index: Option<i32>

The PlanNode's index in node list.

kind: Option<String>

Used to determine the type of node. May be needed for visualizing different kinds of nodes differently. For example, If the node is a SCALAR node, it will have a condensed representation which can be used to directly embed a description of the node in its parent.

display_name: Option<String>

The display name for the node.

execution_stats: Option<HashMap<String, String>>

The execution statistics associated with the node, contained in a group of key-value pairs. Only present if the plan was returned as a result of a profile query. For example, number of executions, number of rows/time per execution etc.

child_links: Option<Vec<ChildLink>>

List of child node indexes and their relationship to this parent.

short_representation: Option<ShortRepresentation>

Condensed representation for SCALAR nodes.

metadata: Option<HashMap<String, String>>

Attributes relevant to the node contained in a group of key-value pairs. For example, a Parameter Reference node could have the following information in its metadata:

{
  "parameter_reference": "param1",
  "parameter_type": "array"
}````

Trait Implementations

impl Part for PlanNode[src]

impl Default for PlanNode[src]

impl Clone for PlanNode[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PlanNode[src]

impl Serialize for PlanNode[src]

impl<'de> Deserialize<'de> for PlanNode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]