pub struct MaterializedViewDefinition {
pub allow_non_incremental_definition: Option<bool>,
pub enable_refresh: Option<bool>,
pub last_refresh_time: Option<i64>,
pub max_staleness: Option<Vec<u8>>,
pub query: Option<String>,
pub refresh_interval_ms: Option<i64>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allow_non_incremental_definition: Option<bool>
[Optional] Allow non incremental materialized view definition. The default value is “false”.
enable_refresh: Option<bool>
[Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is “true”.
last_refresh_time: Option<i64>
[Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.
max_staleness: Option<Vec<u8>>
[Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
query: Option<String>
[Required] A query whose result is persisted.
refresh_interval_ms: Option<i64>
[Optional] [TrustedTester] The maximum frequency at which this materialized view will be refreshed. The default value is “1800000” (30 minutes).
Trait Implementations§
Source§impl Clone for MaterializedViewDefinition
impl Clone for MaterializedViewDefinition
Source§fn clone(&self) -> MaterializedViewDefinition
fn clone(&self) -> MaterializedViewDefinition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MaterializedViewDefinition
impl Debug for MaterializedViewDefinition
Source§impl Default for MaterializedViewDefinition
impl Default for MaterializedViewDefinition
Source§fn default() -> MaterializedViewDefinition
fn default() -> MaterializedViewDefinition
Source§impl<'de> Deserialize<'de> for MaterializedViewDefinition
impl<'de> Deserialize<'de> for MaterializedViewDefinition
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>,
impl Part for MaterializedViewDefinition
Auto Trait Implementations§
impl Freeze for MaterializedViewDefinition
impl RefUnwindSafe for MaterializedViewDefinition
impl Send for MaterializedViewDefinition
impl Sync for MaterializedViewDefinition
impl Unpin for MaterializedViewDefinition
impl UnwindSafe for MaterializedViewDefinition
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