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

Class MaterializedView

src/sql/src/plan.rs:1921–1939  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1919
1920#[derive(Clone, Debug)]
1921pub struct MaterializedView {
1922 /// Parse-able SQL that is stored durably and defines this materialized view.
1923 pub create_sql: String,
1924 /// Unoptimized high-level expression from parsing the `create_sql`.
1925 pub expr: HirRelationExpr,
1926 /// All of the catalog objects that are referenced by this materialized view, according to the `expr`.
1927 pub dependencies: DependencyIds,
1928 /// Columns of this view.
1929 pub column_names: Vec<ColumnName>,
1930 pub replacement_target: Option<CatalogItemId>,
1931 /// Cluster this materialized view will get installed on.
1932 pub cluster_id: ClusterId,
1933 /// If set, only install this materialized view's dataflow on the specified replica.
1934 pub target_replica: Option<ReplicaId>,
1935 pub non_null_assertions: Vec<usize>,
1936 pub compaction_window: Option<CompactionWindow>,
1937 pub refresh_schedule: Option<RefreshSchedule>,
1938 pub as_of: Option<Timestamp>,
1939}
1940
1941#[derive(Clone, Debug)]
1942pub struct Index {

Callers 8

plan_commentFunction · 0.50
plan_explaineeFunction · 0.50
optimizeMethod · 0.50
parse_item_innerMethod · 0.50
transact_opMethod · 0.50
parse_explaineeMethod · 0.50
parse_explain_analyzeMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected