#[non_exhaustive]pub struct SubObjectStatistics {
pub source_type: Option<SubObjectSourceType>,
pub glue_version_id: Option<String>,
pub partition_count: Option<i64>,
pub file_count: Option<i64>,
pub total_file_bytes: Option<i64>,
}Expand description
Statistics for one sub-object referenced by a materialized view, recorded when the materialized view was created or last fully refreshed. These values describe what that refresh selected from the sub-object, which can be a subset of the table when the materialized view's definition limits the data it reads. The fields present depend on the sub-object's format.
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.source_type: Option<SubObjectSourceType>The source type of the sub-object (for example, its table format), which identifies the sub-object.
glue_version_id: Option<String>The Glue version ID of the sub-object that the statistics were captured for.
partition_count: Option<i64>The number of sub-object partitions selected for that refresh. Not present for unpartitioned sub-objects.
file_count: Option<i64>The number of sub-object data files selected for that refresh.
total_file_bytes: Option<i64>The total size, in bytes, of the data files counted by FileCount.
Implementations§
Source§impl SubObjectStatistics
impl SubObjectStatistics
Sourcepub fn source_type(&self) -> Option<&SubObjectSourceType>
pub fn source_type(&self) -> Option<&SubObjectSourceType>
The source type of the sub-object (for example, its table format), which identifies the sub-object.
Sourcepub fn glue_version_id(&self) -> Option<&str>
pub fn glue_version_id(&self) -> Option<&str>
The Glue version ID of the sub-object that the statistics were captured for.
Sourcepub fn partition_count(&self) -> Option<i64>
pub fn partition_count(&self) -> Option<i64>
The number of sub-object partitions selected for that refresh. Not present for unpartitioned sub-objects.
Sourcepub fn file_count(&self) -> Option<i64>
pub fn file_count(&self) -> Option<i64>
The number of sub-object data files selected for that refresh.
Sourcepub fn total_file_bytes(&self) -> Option<i64>
pub fn total_file_bytes(&self) -> Option<i64>
The total size, in bytes, of the data files counted by FileCount.
Source§impl SubObjectStatistics
impl SubObjectStatistics
Sourcepub fn builder() -> SubObjectStatisticsBuilder
pub fn builder() -> SubObjectStatisticsBuilder
Creates a new builder-style object to manufacture SubObjectStatistics.
Trait Implementations§
Source§impl Clone for SubObjectStatistics
impl Clone for SubObjectStatistics
Source§fn clone(&self) -> SubObjectStatistics
fn clone(&self) -> SubObjectStatistics
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 SubObjectStatistics
impl Debug for SubObjectStatistics
Source§impl PartialEq for SubObjectStatistics
impl PartialEq for SubObjectStatistics
impl StructuralPartialEq for SubObjectStatistics
Auto Trait Implementations§
impl Freeze for SubObjectStatistics
impl RefUnwindSafe for SubObjectStatistics
impl Send for SubObjectStatistics
impl Sync for SubObjectStatistics
impl Unpin for SubObjectStatistics
impl UnsafeUnpin for SubObjectStatistics
impl UnwindSafe for SubObjectStatistics
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