Struct aws_sdk_glue::model::TableInput
source · [−]#[non_exhaustive]pub struct TableInput { /* private fields */ }Expand description
A structure used to define a table.
Implementations
sourceimpl TableInput
impl TableInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The table name. For Hive compatibility, this is folded to lowercase when it is stored.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the table.
sourcepub fn last_access_time(&self) -> Option<&DateTime>
pub fn last_access_time(&self) -> Option<&DateTime>
The last time that the table was accessed.
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 target_table(&self) -> Option<&TableIdentifier>
pub fn target_table(&self) -> Option<&TableIdentifier>
A TableIdentifier structure that describes a target table for resource linking.
sourceimpl TableInput
impl TableInput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TableInput.
Trait Implementations
sourceimpl Clone for TableInput
impl Clone for TableInput
sourcefn clone(&self) -> TableInput
fn clone(&self) -> TableInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more