| 1919 | |
| 1920 | #[derive(Clone, Debug)] |
| 1921 | pub 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)] |
| 1942 | pub struct Index { |
no outgoing calls
no test coverage detected