#[non_exhaustive]pub struct IcebergTableUpdate {
pub schema: Option<IcebergSchema>,
pub partition_spec: Option<IcebergPartitionSpec>,
pub sort_order: Option<IcebergSortOrder>,
pub location: String,
pub properties: Option<HashMap<String, String>>,
pub action: Option<IcebergUpdateAction>,
pub encryption_key: Option<IcebergEncryptedKey>,
pub key_id: Option<String>,
}Expand description
Defines a complete set of updates to be applied to an Iceberg table, including schema changes, partitioning modifications, sort order adjustments, location updates, and property changes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.schema: Option<IcebergSchema>The updated schema definition for the Iceberg table, specifying any changes to field structure, data types, or schema metadata.
partition_spec: Option<IcebergPartitionSpec>The updated partitioning specification that defines how the table data should be reorganized and partitioned.
sort_order: Option<IcebergSortOrder>The updated sort order specification that defines how data should be ordered within partitions for optimal query performance.
location: StringThe updated S3 location where the Iceberg table data will be stored.
properties: Option<HashMap<String, String>>Updated key-value pairs of table properties and configuration settings for the Iceberg table.
action: 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.
encryption_key: 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.
key_id: 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.
Implementations§
Source§impl IcebergTableUpdate
impl IcebergTableUpdate
Sourcepub fn schema(&self) -> Option<&IcebergSchema>
pub fn 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) -> Option<&IcebergPartitionSpec>
pub fn 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) -> Option<&IcebergSortOrder>
pub fn 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) -> &str
pub fn location(&self) -> &str
The updated S3 location where the Iceberg table data will be stored.
Sourcepub fn properties(&self) -> Option<&HashMap<String, String>>
pub fn properties(&self) -> Option<&HashMap<String, String>>
Updated key-value pairs of table properties and configuration settings for the Iceberg table.
Sourcepub fn action(&self) -> Option<&IcebergUpdateAction>
pub fn 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) -> Option<&IcebergEncryptedKey>
pub fn 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.
Source§impl IcebergTableUpdate
impl IcebergTableUpdate
Sourcepub fn builder() -> IcebergTableUpdateBuilder
pub fn builder() -> IcebergTableUpdateBuilder
Creates a new builder-style object to manufacture IcebergTableUpdate.
Trait Implementations§
Source§impl Clone for IcebergTableUpdate
impl Clone for IcebergTableUpdate
Source§fn clone(&self) -> IcebergTableUpdate
fn clone(&self) -> IcebergTableUpdate
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 IcebergTableUpdate
impl Debug for IcebergTableUpdate
Source§impl PartialEq for IcebergTableUpdate
impl PartialEq for IcebergTableUpdate
Source§fn eq(&self, other: &IcebergTableUpdate) -> bool
fn eq(&self, other: &IcebergTableUpdate) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IcebergTableUpdate
Auto Trait Implementations§
impl Freeze for IcebergTableUpdate
impl RefUnwindSafe for IcebergTableUpdate
impl Send for IcebergTableUpdate
impl Sync for IcebergTableUpdate
impl Unpin for IcebergTableUpdate
impl UnsafeUnpin for IcebergTableUpdate
impl UnwindSafe for IcebergTableUpdate
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