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.