Struct aws_sdk_glue::types::Partition
source · #[non_exhaustive]pub struct Partition {
pub values: Option<Vec<String>>,
pub database_name: Option<String>,
pub table_name: Option<String>,
pub creation_time: Option<DateTime>,
pub last_access_time: Option<DateTime>,
pub storage_descriptor: Option<StorageDescriptor>,
pub parameters: Option<HashMap<String, String>>,
pub last_analyzed_time: Option<DateTime>,
pub catalog_id: Option<String>,
}Expand description
Represents a slice of table data.
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.values: Option<Vec<String>>The values of the partition.
database_name: Option<String>The name of the catalog database in which to create the partition.
table_name: Option<String>The name of the database table in which to create the partition.
creation_time: Option<DateTime>The time at which the partition was created.
last_access_time: Option<DateTime>The last time at which the partition was accessed.
storage_descriptor: Option<StorageDescriptor>Provides information about the physical location where the partition is stored.
parameters: Option<HashMap<String, String>>These key-value pairs define partition parameters.
last_analyzed_time: Option<DateTime>The last time at which column statistics were computed for this partition.
catalog_id: Option<String>The ID of the Data Catalog in which the partition resides.
Implementations§
source§impl Partition
impl Partition
sourcepub fn values(&self) -> &[String]
pub fn values(&self) -> &[String]
The values of the partition.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .values.is_none().
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the catalog database in which to create the partition.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the database table in which to create the partition.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time at which the partition was created.
sourcepub fn last_access_time(&self) -> Option<&DateTime>
pub fn last_access_time(&self) -> Option<&DateTime>
The last time at which the partition was accessed.
sourcepub fn storage_descriptor(&self) -> Option<&StorageDescriptor>
pub fn storage_descriptor(&self) -> Option<&StorageDescriptor>
Provides information about the physical location where the partition is stored.
sourcepub fn parameters(&self) -> Option<&HashMap<String, String>>
pub fn parameters(&self) -> Option<&HashMap<String, String>>
These key-value pairs define partition parameters.
sourcepub fn last_analyzed_time(&self) -> Option<&DateTime>
pub fn last_analyzed_time(&self) -> Option<&DateTime>
The last time at which column statistics were computed for this partition.
sourcepub fn catalog_id(&self) -> Option<&str>
pub fn catalog_id(&self) -> Option<&str>
The ID of the Data Catalog in which the partition resides.
Trait Implementations§
source§impl PartialEq for Partition
impl PartialEq for Partition
impl StructuralPartialEq for Partition
Auto Trait Implementations§
impl Freeze for Partition
impl RefUnwindSafe for Partition
impl Send for Partition
impl Sync for Partition
impl Unpin for Partition
impl UnwindSafe for Partition
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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