Struct gapi_grpc::google::spanner::v1::PlanNode[][src]

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

Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].

Fields

index: i32

The PlanNode’s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].

kind: i32

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][google.spanner.v1.PlanNode.Kind.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: String

The display name for the node.

child_links: Vec<ChildLink>

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

short_representation: Option<ShortRepresentation>

Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.

metadata: Option<Struct>

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"
}
execution_stats: Option<Struct>

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.

Implementations

impl PlanNode[src]

pub fn kind(&self) -> Kind[src]

Returns the enum value of kind, or the default if the field is set to an invalid enum value.

pub fn set_kind(&mut self, value: Kind)[src]

Sets kind to the provided enum value.

Trait Implementations

impl Clone for PlanNode[src]

impl Debug for PlanNode[src]

impl Default for PlanNode[src]

impl Message for PlanNode[src]

impl PartialEq<PlanNode> for PlanNode[src]

impl StructuralPartialEq for PlanNode[src]

Auto Trait Implementations

impl RefUnwindSafe for PlanNode

impl Send for PlanNode

impl Sync for PlanNode

impl Unpin for PlanNode

impl UnwindSafe for PlanNode

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]