#[non_exhaustive]pub struct IcebergRetentionMetrics {
pub number_of_data_files_deleted: i64,
pub number_of_manifest_files_deleted: i64,
pub number_of_manifest_lists_deleted: i64,
pub dpu_hours: f64,
pub number_of_dpus: i32,
pub job_duration_in_hour: f64,
}Expand description
Snapshot retention metrics for Iceberg for the optimizer run.
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.number_of_data_files_deleted: i64The number of data files deleted by the retention job run.
number_of_manifest_files_deleted: i64The number of manifest files deleted by the retention job run.
number_of_manifest_lists_deleted: i64The number of manifest lists deleted by the retention job run.
dpu_hours: f64The number of DPU hours consumed by the job.
number_of_dpus: i32The number of DPUs consumed by the job, rounded up to the nearest whole number.
job_duration_in_hour: f64The duration of the job in hours.
Implementations§
Source§impl IcebergRetentionMetrics
impl IcebergRetentionMetrics
Sourcepub fn number_of_data_files_deleted(&self) -> i64
pub fn number_of_data_files_deleted(&self) -> i64
The number of data files deleted by the retention job run.
Sourcepub fn number_of_manifest_files_deleted(&self) -> i64
pub fn number_of_manifest_files_deleted(&self) -> i64
The number of manifest files deleted by the retention job run.
Sourcepub fn number_of_manifest_lists_deleted(&self) -> i64
pub fn number_of_manifest_lists_deleted(&self) -> i64
The number of manifest lists deleted by the retention job run.
Sourcepub fn number_of_dpus(&self) -> i32
pub fn number_of_dpus(&self) -> i32
The number of DPUs consumed by the job, rounded up to the nearest whole number.
Sourcepub fn job_duration_in_hour(&self) -> f64
pub fn job_duration_in_hour(&self) -> f64
The duration of the job in hours.
Source§impl IcebergRetentionMetrics
impl IcebergRetentionMetrics
Sourcepub fn builder() -> IcebergRetentionMetricsBuilder
pub fn builder() -> IcebergRetentionMetricsBuilder
Creates a new builder-style object to manufacture IcebergRetentionMetrics.
Trait Implementations§
Source§impl Clone for IcebergRetentionMetrics
impl Clone for IcebergRetentionMetrics
Source§fn clone(&self) -> IcebergRetentionMetrics
fn clone(&self) -> IcebergRetentionMetrics
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 IcebergRetentionMetrics
impl Debug for IcebergRetentionMetrics
Source§impl PartialEq for IcebergRetentionMetrics
impl PartialEq for IcebergRetentionMetrics
Source§fn eq(&self, other: &IcebergRetentionMetrics) -> bool
fn eq(&self, other: &IcebergRetentionMetrics) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IcebergRetentionMetrics
Auto Trait Implementations§
impl Freeze for IcebergRetentionMetrics
impl RefUnwindSafe for IcebergRetentionMetrics
impl Send for IcebergRetentionMetrics
impl Sync for IcebergRetentionMetrics
impl Unpin for IcebergRetentionMetrics
impl UnsafeUnpin for IcebergRetentionMetrics
impl UnwindSafe for IcebergRetentionMetrics
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