pub struct VersionBuilder<T: Materialization> { /* private fields */ }Expand description
Builder for Version.
Implementations§
Source§impl<T: Materialization + Clone> VersionBuilder<T>
impl<T: Materialization + Clone> VersionBuilder<T>
Sourcepub fn version_id(&mut self, value: i64) -> &mut Self
pub fn version_id(&mut self, value: i64) -> &mut Self
Monotonically increasing id indicating the version of the view. Starts with 1.
Sourcepub fn timestamp_ms(&mut self, value: i64) -> &mut Self
pub fn timestamp_ms(&mut self, value: i64) -> &mut Self
Timestamp expressed in ms since epoch at which the version of the view was created.
Sourcepub fn summary(&mut self, value: Summary) -> &mut Self
pub fn summary(&mut self, value: Summary) -> &mut Self
A string map summarizes the version changes, including operation, described in Summary.
Sourcepub fn representations(&mut self, value: Vec<ViewRepresentation>) -> &mut Self
pub fn representations(&mut self, value: Vec<ViewRepresentation>) -> &mut Self
A list of “representations” as described in Representations.
Sourcepub fn with_representation<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn with_representation<VALUE>(&mut self, item: VALUE) -> &mut Self
A list of “representations” as described in Representations.
Sourcepub fn default_catalog(&mut self, value: String) -> &mut Self
pub fn default_catalog(&mut self, value: String) -> &mut Self
A string specifying the catalog to use when the table or view references in the view definition do not contain an explicit catalog.
Sourcepub fn default_namespace(&mut self, value: Vec<String>) -> &mut Self
pub fn default_namespace(&mut self, value: Vec<String>) -> &mut Self
The namespace to use when the table or view references in the view definition do not contain an explicit namespace. Since the namespace may contain multiple parts, it is serialized as a list of strings.
Sourcepub fn storage_table(&mut self, value: T) -> &mut Self
pub fn storage_table(&mut self, value: T) -> &mut Self
Full identifier record of the storage table
Trait Implementations§
Source§impl<T: Clone + Materialization> Clone for VersionBuilder<T>
impl<T: Clone + Materialization> Clone for VersionBuilder<T>
Source§fn clone(&self) -> VersionBuilder<T>
fn clone(&self) -> VersionBuilder<T>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<T: Materialization + Clone> Default for VersionBuilder<T>
impl<T: Materialization + Clone> Default for VersionBuilder<T>
Auto Trait Implementations§
impl<T> Freeze for VersionBuilder<T>where
T: Freeze,
impl<T> RefUnwindSafe for VersionBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for VersionBuilder<T>where
T: Send,
impl<T> Sync for VersionBuilder<T>where
T: Sync,
impl<T> Unpin for VersionBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for VersionBuilder<T>where
T: UnwindSafe,
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> 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