Struct iceberg_rust::spec::view_metadata::VersionBuilder
source · pub struct VersionBuilder { /* private fields */ }Expand description
Builder for Version.
Implementations§
source§impl VersionBuilder
impl VersionBuilder
sourcepub fn version_id(&mut self, value: i64) -> &mut VersionBuilder
pub fn version_id(&mut self, value: i64) -> &mut VersionBuilder
Monotonically increasing id indicating the version of the view. Starts with 1.
sourcepub fn schema_id(&mut self, value: i32) -> &mut VersionBuilder
pub fn schema_id(&mut self, value: i32) -> &mut VersionBuilder
ID of the schema for the view version
sourcepub fn timestamp_ms(&mut self, value: i64) -> &mut VersionBuilder
pub fn timestamp_ms(&mut self, value: i64) -> &mut VersionBuilder
Timestamp expressed in ms since epoch at which the version of the view was created.
sourcepub fn summary(&mut self, value: Summary) -> &mut VersionBuilder
pub fn summary(&mut self, value: Summary) -> &mut VersionBuilder
A string map summarizes the version changes, including operation, described in Summary.
sourcepub fn representations(
&mut self,
value: Vec<ViewRepresentation>
) -> &mut VersionBuilder
pub fn representations( &mut self, value: Vec<ViewRepresentation> ) -> &mut VersionBuilder
A list of “representations” as described in Representations.
sourcepub fn with_representation<VALUE>(&mut self, item: VALUE) -> &mut VersionBuilder
pub fn with_representation<VALUE>(&mut self, item: VALUE) -> &mut VersionBuilder
A list of “representations” as described in Representations.
sourcepub fn default_catalog(&mut self, value: Option<String>) -> &mut VersionBuilder
pub fn default_catalog(&mut self, value: Option<String>) -> &mut VersionBuilder
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: Option<Vec<String>>
) -> &mut VersionBuilder
pub fn default_namespace( &mut self, value: Option<Vec<String>> ) -> &mut VersionBuilder
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.
Trait Implementations§
source§impl Clone for VersionBuilder
impl Clone for VersionBuilder
source§fn clone(&self) -> VersionBuilder
fn clone(&self) -> VersionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more