MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / View

Class View

src/sql/src/plan.rs:1907–1918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1905
1906#[derive(Clone, Debug)]
1907pub struct View {
1908 /// Parse-able SQL that is stored durably and defines this view.
1909 pub create_sql: String,
1910 /// Unoptimized high-level expression from parsing the `create_sql`.
1911 pub expr: HirRelationExpr,
1912 /// All of the catalog objects that are referenced by this view, according to the `expr`.
1913 pub dependencies: DependencyIds,
1914 /// Columns of this view.
1915 pub column_names: Vec<ColumnName>,
1916 /// If this view is created in the temporary schema, e.g. `CREATE TEMPORARY ...`.
1917 pub temporary: bool,
1918}
1919
1920#[derive(Clone, Debug)]
1921pub struct MaterializedView {

Callers 5

plan_commentFunction · 0.50
plan_explaineeFunction · 0.50
parse_item_innerMethod · 0.50
parse_explaineeMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected