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<CreateMaterializedViewRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateMaterializedViewRequest, <__D as Deserializer<'de>>::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 ==.Source§impl Serialize for CreateMaterializedViewRequest
impl Serialize for CreateMaterializedViewRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for CreateMaterializedViewRequest
Auto Trait Implementations§
impl Freeze for CreateMaterializedViewRequest
impl RefUnwindSafe for CreateMaterializedViewRequest
impl Send for CreateMaterializedViewRequest
impl Sync for CreateMaterializedViewRequest
impl Unpin for CreateMaterializedViewRequest
impl UnsafeUnpin for CreateMaterializedViewRequest
impl UnwindSafe for CreateMaterializedViewRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more