#[non_exhaustive]pub struct IcebergOrphanFileDeletionConfiguration {
pub orphan_file_retention_period_in_days: Option<i32>,
pub location: Option<String>,
pub run_rate_in_hours: Option<i32>,
}Expand description
The configuration for an Iceberg orphan file deletion optimizer.
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.orphan_file_retention_period_in_days: Option<i32>The number of days that orphan files should be retained before file deletion. If an input is not provided, the default value 3 will be used.
location: Option<String>Specifies a directory in which to look for files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
run_rate_in_hours: Option<i32>The interval in hours between orphan file deletion job runs. This parameter controls how frequently the orphan file deletion optimizer will run to clean up orphan files. The value must be between 3 and 168 hours (7 days). If an input is not provided, the default value 24 will be used.
Implementations§
Source§impl IcebergOrphanFileDeletionConfiguration
impl IcebergOrphanFileDeletionConfiguration
Sourcepub fn orphan_file_retention_period_in_days(&self) -> Option<i32>
pub fn orphan_file_retention_period_in_days(&self) -> Option<i32>
The number of days that orphan files should be retained before file deletion. If an input is not provided, the default value 3 will be used.
Sourcepub fn location(&self) -> Option<&str>
pub fn location(&self) -> Option<&str>
Specifies a directory in which to look for files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
Sourcepub fn run_rate_in_hours(&self) -> Option<i32>
pub fn run_rate_in_hours(&self) -> Option<i32>
The interval in hours between orphan file deletion job runs. This parameter controls how frequently the orphan file deletion optimizer will run to clean up orphan files. The value must be between 3 and 168 hours (7 days). If an input is not provided, the default value 24 will be used.
Source§impl IcebergOrphanFileDeletionConfiguration
impl IcebergOrphanFileDeletionConfiguration
Sourcepub fn builder() -> IcebergOrphanFileDeletionConfigurationBuilder
pub fn builder() -> IcebergOrphanFileDeletionConfigurationBuilder
Creates a new builder-style object to manufacture IcebergOrphanFileDeletionConfiguration.
Trait Implementations§
Source§impl Clone for IcebergOrphanFileDeletionConfiguration
impl Clone for IcebergOrphanFileDeletionConfiguration
Source§fn clone(&self) -> IcebergOrphanFileDeletionConfiguration
fn clone(&self) -> IcebergOrphanFileDeletionConfiguration
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 IcebergOrphanFileDeletionConfiguration
impl PartialEq for IcebergOrphanFileDeletionConfiguration
Source§fn eq(&self, other: &IcebergOrphanFileDeletionConfiguration) -> bool
fn eq(&self, other: &IcebergOrphanFileDeletionConfiguration) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IcebergOrphanFileDeletionConfiguration
Auto Trait Implementations§
impl Freeze for IcebergOrphanFileDeletionConfiguration
impl RefUnwindSafe for IcebergOrphanFileDeletionConfiguration
impl Send for IcebergOrphanFileDeletionConfiguration
impl Sync for IcebergOrphanFileDeletionConfiguration
impl Unpin for IcebergOrphanFileDeletionConfiguration
impl UnsafeUnpin for IcebergOrphanFileDeletionConfiguration
impl UnwindSafe for IcebergOrphanFileDeletionConfiguration
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