Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PlanNode

import type { PlanNode } from "https://googleapis.deno.dev/v1/spanner:v1.ts";

Node information for nodes appearing in a QueryPlan.plan_nodes.

interface PlanNode {
childLinks?: ChildLink[];
displayName?: string;
executionStats?: {
[key: string]: any;
}
;
index?: number;
kind?: "KIND_UNSPECIFIED" | "RELATIONAL" | "SCALAR";
metadata?: {
[key: string]: any;
}
;
shortRepresentation?: ShortRepresentation;
}

§Properties

§
displayName?: string
[src]

The display name for the node.

§
executionStats?: {
[key: string]: any;
}
[src]

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.

§
index?: number
[src]

The PlanNode's index in node list.

§
kind?: "KIND_UNSPECIFIED" | "RELATIONAL" | "SCALAR"
[src]

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.

§
metadata?: {
[key: string]: any;
}
[src]

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" }

§
shortRepresentation?: ShortRepresentation
[src]

Condensed representation for SCALAR nodes.