pub struct CreateMaterializedViewRequest {
pub identity: Option<Box<Identity>>,
pub id: Option<Vec<String>>,
pub kind: Kind,
pub source_query: String,
pub output_schema: String,
pub udtf_spec: Option<Option<Box<MaterializedViewUdtfEntry>>>,
pub with_no_data: Option<bool>,
pub auto_refresh: Option<Option<bool>>,
}Fields§
§identity: Option<Box<Identity>>§id: Option<Vec<String>>View identifier path (namespace + view name)
kind: KindThe materialized view kind. - query — plain query-backed view (no UDTF), 1:1 rows. - udtf — batch UDTF-backed view (N:M rows, full refresh). - chunker, aka ‘scalar_udtf’ — chunker view (1:N row expansion, incremental refresh).
source_query: StringOpaque serialized representation of the source query that defines the view’s input. The format is defined by the client; the namespace server stores it without interpreting it.
output_schema: StringBase64-encoded Arrow schema of the view output
udtf_spec: Option<Option<Box<MaterializedViewUdtfEntry>>>§with_no_data: Option<bool>If false, the server kicks off an initial refresh immediately after creating the view and the response includes a job ID.
auto_refresh: Option<Option<bool>>If true, the view is automatically refreshed when source-table data changes past the deployment-level threshold. Boolean opt-in only; the threshold and cooldown are configured on the deployment, not per-view.
Implementations§
Trait Implementations§
Source§impl Clone for CreateMaterializedViewRequest
impl Clone for CreateMaterializedViewRequest
Source§fn clone(&self) -> CreateMaterializedViewRequest
fn clone(&self) -> CreateMaterializedViewRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for CreateMaterializedViewRequest
impl Default for CreateMaterializedViewRequest
Source§fn default() -> CreateMaterializedViewRequest
fn default() -> CreateMaterializedViewRequest
Source§impl<'de> Deserialize<'de> for CreateMaterializedViewRequest
impl<'de> Deserialize<'de> for CreateMaterializedViewRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for CreateMaterializedViewRequest
impl PartialEq for CreateMaterializedViewRequest
Source§fn eq(&self, other: &CreateMaterializedViewRequest) -> bool
fn eq(&self, other: &CreateMaterializedViewRequest) -> bool
self and other values to be equal, and is used by ==.