#[non_exhaustive]pub struct IcebergTableUpdateBuilder { /* private fields */ }Expand description
A builder for IcebergTableUpdate.
Implementations§
Source§impl IcebergTableUpdateBuilder
impl IcebergTableUpdateBuilder
Sourcepub fn schema(self, input: IcebergSchema) -> Self
pub fn schema(self, input: IcebergSchema) -> Self
The updated schema definition for the Iceberg table, specifying any changes to field structure, data types, or schema metadata.
This field is required.Sourcepub fn set_schema(self, input: Option<IcebergSchema>) -> Self
pub fn set_schema(self, input: Option<IcebergSchema>) -> Self
The updated schema definition for the Iceberg table, specifying any changes to field structure, data types, or schema metadata.
Sourcepub fn get_schema(&self) -> &Option<IcebergSchema>
pub fn get_schema(&self) -> &Option<IcebergSchema>
The updated schema definition for the Iceberg table, specifying any changes to field structure, data types, or schema metadata.
Sourcepub fn partition_spec(self, input: IcebergPartitionSpec) -> Self
pub fn partition_spec(self, input: IcebergPartitionSpec) -> Self
The updated partitioning specification that defines how the table data should be reorganized and partitioned.
Sourcepub fn set_partition_spec(self, input: Option<IcebergPartitionSpec>) -> Self
pub fn set_partition_spec(self, input: Option<IcebergPartitionSpec>) -> Self
The updated partitioning specification that defines how the table data should be reorganized and partitioned.
Sourcepub fn get_partition_spec(&self) -> &Option<IcebergPartitionSpec>
pub fn get_partition_spec(&self) -> &Option<IcebergPartitionSpec>
The updated partitioning specification that defines how the table data should be reorganized and partitioned.
Sourcepub fn sort_order(self, input: IcebergSortOrder) -> Self
pub fn sort_order(self, input: IcebergSortOrder) -> Self
The updated sort order specification that defines how data should be ordered within partitions for optimal query performance.
Sourcepub fn set_sort_order(self, input: Option<IcebergSortOrder>) -> Self
pub fn set_sort_order(self, input: Option<IcebergSortOrder>) -> Self
The updated sort order specification that defines how data should be ordered within partitions for optimal query performance.
Sourcepub fn get_sort_order(&self) -> &Option<IcebergSortOrder>
pub fn get_sort_order(&self) -> &Option<IcebergSortOrder>
The updated sort order specification that defines how data should be ordered within partitions for optimal query performance.
Sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
The updated S3 location where the Iceberg table data will be stored.
This field is required.Sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The updated S3 location where the Iceberg table data will be stored.
Sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The updated S3 location where the Iceberg table data will be stored.
Sourcepub fn properties(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn properties(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to properties.
To override the contents of this collection use set_properties.
Updated key-value pairs of table properties and configuration settings for the Iceberg table.
Sourcepub fn set_properties(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_properties(self, input: Option<HashMap<String, String>>) -> Self
Updated key-value pairs of table properties and configuration settings for the Iceberg table.
Sourcepub fn get_properties(&self) -> &Option<HashMap<String, String>>
pub fn get_properties(&self) -> &Option<HashMap<String, String>>
Updated key-value pairs of table properties and configuration settings for the Iceberg table.
Sourcepub fn action(self, input: IcebergUpdateAction) -> Self
pub fn action(self, input: IcebergUpdateAction) -> Self
The type of update action to be performed on the Iceberg table. Defines the specific operation such as adding schema, setting current schema, adding partition spec, or managing encryption keys.
Sourcepub fn set_action(self, input: Option<IcebergUpdateAction>) -> Self
pub fn set_action(self, input: Option<IcebergUpdateAction>) -> Self
The type of update action to be performed on the Iceberg table. Defines the specific operation such as adding schema, setting current schema, adding partition spec, or managing encryption keys.
Sourcepub fn get_action(&self) -> &Option<IcebergUpdateAction>
pub fn get_action(&self) -> &Option<IcebergUpdateAction>
The type of update action to be performed on the Iceberg table. Defines the specific operation such as adding schema, setting current schema, adding partition spec, or managing encryption keys.
Sourcepub fn encryption_key(self, input: IcebergEncryptedKey) -> Self
pub fn encryption_key(self, input: IcebergEncryptedKey) -> Self
Encryption key information associated with an Iceberg table update operation. Used when adding or removing encryption keys from the table metadata during table evolution.
Sourcepub fn set_encryption_key(self, input: Option<IcebergEncryptedKey>) -> Self
pub fn set_encryption_key(self, input: Option<IcebergEncryptedKey>) -> Self
Encryption key information associated with an Iceberg table update operation. Used when adding or removing encryption keys from the table metadata during table evolution.
Sourcepub fn get_encryption_key(&self) -> &Option<IcebergEncryptedKey>
pub fn get_encryption_key(&self) -> &Option<IcebergEncryptedKey>
Encryption key information associated with an Iceberg table update operation. Used when adding or removing encryption keys from the table metadata during table evolution.
Sourcepub fn key_id(self, input: impl Into<String>) -> Self
pub fn key_id(self, input: impl Into<String>) -> Self
Identifier of the encryption key involved in an Iceberg table update operation. References the specific key being added to or removed from the table's encryption configuration.
Sourcepub fn set_key_id(self, input: Option<String>) -> Self
pub fn set_key_id(self, input: Option<String>) -> Self
Identifier of the encryption key involved in an Iceberg table update operation. References the specific key being added to or removed from the table's encryption configuration.
Sourcepub fn get_key_id(&self) -> &Option<String>
pub fn get_key_id(&self) -> &Option<String>
Identifier of the encryption key involved in an Iceberg table update operation. References the specific key being added to or removed from the table's encryption configuration.
Sourcepub fn build(self) -> Result<IcebergTableUpdate, BuildError>
pub fn build(self) -> Result<IcebergTableUpdate, BuildError>
Consumes the builder and constructs a IcebergTableUpdate.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for IcebergTableUpdateBuilder
impl Clone for IcebergTableUpdateBuilder
Source§fn clone(&self) -> IcebergTableUpdateBuilder
fn clone(&self) -> IcebergTableUpdateBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IcebergTableUpdateBuilder
impl Debug for IcebergTableUpdateBuilder
Source§impl Default for IcebergTableUpdateBuilder
impl Default for IcebergTableUpdateBuilder
Source§fn default() -> IcebergTableUpdateBuilder
fn default() -> IcebergTableUpdateBuilder
Source§impl PartialEq for IcebergTableUpdateBuilder
impl PartialEq for IcebergTableUpdateBuilder
Source§fn eq(&self, other: &IcebergTableUpdateBuilder) -> bool
fn eq(&self, other: &IcebergTableUpdateBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IcebergTableUpdateBuilder
Auto Trait Implementations§
impl Freeze for IcebergTableUpdateBuilder
impl RefUnwindSafe for IcebergTableUpdateBuilder
impl Send for IcebergTableUpdateBuilder
impl Sync for IcebergTableUpdateBuilder
impl Unpin for IcebergTableUpdateBuilder
impl UnsafeUnpin for IcebergTableUpdateBuilder
impl UnwindSafe for IcebergTableUpdateBuilder
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