risingwave_frontend::optimizer::plan_node

Trait Explain

source
pub trait Explain {
    // Required methods
    fn explain<'a>(&self) -> Pretty<'a>;
    fn explain_with_id<'a>(&self) -> Pretty<'a>;
    fn explain_to_string(&self) -> String;
    fn explain_to_json(&self) -> String;
    fn explain_to_xml(&self) -> String;
    fn explain_to_yaml(&self) -> String;
    fn explain_to_dot(&self) -> String;
}

Required Methods§

source

fn explain<'a>(&self) -> Pretty<'a>

Write explain the whole plan tree.

source

fn explain_with_id<'a>(&self) -> Pretty<'a>

Write explain the whole plan tree with node id.

source

fn explain_to_string(&self) -> String

Explain the plan node and return a string.

source

fn explain_to_json(&self) -> String

Explain the plan node and return a json string.

source

fn explain_to_xml(&self) -> String

Explain the plan node and return a xml string.

source

fn explain_to_yaml(&self) -> String

Explain the plan node and return a yaml string.

source

fn explain_to_dot(&self) -> String

Explain the plan node and return a dot format string.

Implementors§