#[non_exhaustive]pub struct IcebergOptimizationProperties {
pub role_arn: Option<String>,
pub compaction: Option<HashMap<String, String>>,
pub retention: Option<HashMap<String, String>>,
pub orphan_file_deletion: Option<HashMap<String, String>>,
}Expand description
A structure that specifies Iceberg table optimization properties for the catalog, including configurations for compaction, retention, and orphan file deletion operations.
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.role_arn: Option<String>The Amazon Resource Name (ARN) of the IAM role that will be assumed to perform Iceberg table optimization operations.
compaction: Option<HashMap<String, String>>A map of key-value pairs that specify configuration parameters for Iceberg table compaction operations, which optimize the layout of data files to improve query performance.
retention: Option<HashMap<String, String>>A map of key-value pairs that specify configuration parameters for Iceberg table retention operations, which manage the lifecycle of table snapshots to control storage costs.
orphan_file_deletion: Option<HashMap<String, String>>A map of key-value pairs that specify configuration parameters for Iceberg orphan file deletion operations, which identify and remove files that are no longer referenced by the table metadata.
Implementations§
Source§impl IcebergOptimizationProperties
impl IcebergOptimizationProperties
Sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role that will be assumed to perform Iceberg table optimization operations.
Sourcepub fn compaction(&self) -> Option<&HashMap<String, String>>
pub fn compaction(&self) -> Option<&HashMap<String, String>>
A map of key-value pairs that specify configuration parameters for Iceberg table compaction operations, which optimize the layout of data files to improve query performance.
Source§impl IcebergOptimizationProperties
impl IcebergOptimizationProperties
Sourcepub fn builder() -> IcebergOptimizationPropertiesBuilder
pub fn builder() -> IcebergOptimizationPropertiesBuilder
Creates a new builder-style object to manufacture IcebergOptimizationProperties.
Trait Implementations§
Source§impl Clone for IcebergOptimizationProperties
impl Clone for IcebergOptimizationProperties
Source§fn clone(&self) -> IcebergOptimizationProperties
fn clone(&self) -> IcebergOptimizationProperties
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for IcebergOptimizationProperties
impl PartialEq for IcebergOptimizationProperties
Source§fn eq(&self, other: &IcebergOptimizationProperties) -> bool
fn eq(&self, other: &IcebergOptimizationProperties) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IcebergOptimizationProperties
Auto Trait Implementations§
impl Freeze for IcebergOptimizationProperties
impl RefUnwindSafe for IcebergOptimizationProperties
impl Send for IcebergOptimizationProperties
impl Sync for IcebergOptimizationProperties
impl Unpin for IcebergOptimizationProperties
impl UnsafeUnpin for IcebergOptimizationProperties
impl UnwindSafe for IcebergOptimizationProperties
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