Struct iceberg_rust_spec::spec::view_metadata::VersionBuilder
source · pub struct VersionBuilder<T> { /* private fields */ }Expand description
Builder for Version.
Implementations§
source§impl<T: Clone> VersionBuilder<T>
impl<T: 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<T>) -> &mut Self
pub fn representations(&mut self, value: Vec<T>) -> &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: Option<String>) -> &mut Self
pub fn default_catalog(&mut self, value: Option<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.
Trait Implementations§
source§impl<T: Clone> Clone for VersionBuilder<T>
impl<T: Clone> Clone for VersionBuilder<T>
source§fn clone(&self) -> VersionBuilder<T>
fn clone(&self) -> VersionBuilder<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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
Mutably borrows from an owned value. Read more