Struct aws_sdk_glue::model::Table
source · #[non_exhaustive]pub struct Table { /* private fields */ }Expand description
Represents a collection of related data organized in columns and rows.
Implementations§
source§impl Table
impl Table
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The table name. For Hive compatibility, this must be entirely lowercase.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the database where the table metadata resides. For Hive compatibility, this must be all lowercase.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the table.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The time when the table definition was created in the Data Catalog.
sourcepub fn update_time(&self) -> Option<&DateTime>
pub fn update_time(&self) -> Option<&DateTime>
The last time that the table was updated.
sourcepub fn last_access_time(&self) -> Option<&DateTime>
pub fn last_access_time(&self) -> Option<&DateTime>
The last time that the table was accessed. This is usually taken from HDFS, and might not be reliable.
sourcepub fn last_analyzed_time(&self) -> Option<&DateTime>
pub fn last_analyzed_time(&self) -> Option<&DateTime>
The last time that column statistics were computed for this table.
sourcepub fn storage_descriptor(&self) -> Option<&StorageDescriptor>
pub fn storage_descriptor(&self) -> Option<&StorageDescriptor>
A storage descriptor containing information about the physical storage of this table.
sourcepub fn partition_keys(&self) -> Option<&[Column]>
pub fn partition_keys(&self) -> Option<&[Column]>
A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
When you create a table used by Amazon Athena, and you do not specify any partitionKeys, you must at least set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
sourcepub fn view_original_text(&self) -> Option<&str>
pub fn view_original_text(&self) -> Option<&str>
If the table is a view, the original text of the view; otherwise null.
sourcepub fn view_expanded_text(&self) -> Option<&str>
pub fn view_expanded_text(&self) -> Option<&str>
If the table is a view, the expanded text of the view; otherwise null.
sourcepub fn table_type(&self) -> Option<&str>
pub fn table_type(&self) -> Option<&str>
The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
sourcepub fn parameters(&self) -> Option<&HashMap<String, String>>
pub fn parameters(&self) -> Option<&HashMap<String, String>>
These key-value pairs define properties associated with the table.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The person or entity who created the table.
sourcepub fn is_registered_with_lake_formation(&self) -> bool
pub fn is_registered_with_lake_formation(&self) -> bool
Indicates whether the table has been registered with Lake Formation.
sourcepub fn target_table(&self) -> Option<&TableIdentifier>
pub fn target_table(&self) -> Option<&TableIdentifier>
A TableIdentifier structure that describes a target table for resource linking.
sourcepub fn catalog_id(&self) -> Option<&str>
pub fn catalog_id(&self) -> Option<&str>
The ID of the Data Catalog in which the table resides.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The ID of the table version.