Struct aws_sdk_glue::model::TableInput
source · [−]#[non_exhaustive]pub struct TableInput {Show 13 fields
pub name: Option<String>,
pub description: Option<String>,
pub owner: Option<String>,
pub last_access_time: Option<DateTime>,
pub last_analyzed_time: Option<DateTime>,
pub retention: i32,
pub storage_descriptor: Option<StorageDescriptor>,
pub partition_keys: Option<Vec<Column>>,
pub view_original_text: Option<String>,
pub view_expanded_text: Option<String>,
pub table_type: Option<String>,
pub parameters: Option<HashMap<String, String>>,
pub target_table: Option<TableIdentifier>,
}
Expand description
A structure used to define a table.
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.name: Option<String>
The table name. For Hive compatibility, this is folded to lowercase when it is stored.
description: Option<String>
A description of the table.
owner: Option<String>
The table owner.
last_access_time: Option<DateTime>
The last time that the table was accessed.
last_analyzed_time: Option<DateTime>
The last time that column statistics were computed for this table.
retention: i32
The retention time for this table.
storage_descriptor: Option<StorageDescriptor>
A storage descriptor containing information about the physical storage of this table.
partition_keys: Option<Vec<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": []
view_original_text: Option<String>
If the table is a view, the original text of the view; otherwise null
.
view_expanded_text: Option<String>
If the table is a view, the expanded text of the view; otherwise null
.
table_type: Option<String>
The type of this table (EXTERNAL_TABLE
, VIRTUAL_VIEW
, etc.).
parameters: Option<HashMap<String, String>>
These key-value pairs define properties associated with the table.
target_table: Option<TableIdentifier>
A TableIdentifier
structure that describes a target table for resource linking.
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
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TableInput
impl Debug for TableInput
sourceimpl PartialEq<TableInput> for TableInput
impl PartialEq<TableInput> for TableInput
sourcefn eq(&self, other: &TableInput) -> bool
fn eq(&self, other: &TableInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TableInput) -> bool
fn ne(&self, other: &TableInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for TableInput
Auto Trait Implementations
impl RefUnwindSafe for TableInput
impl Send for TableInput
impl Sync for TableInput
impl Unpin for TableInput
impl UnwindSafe for TableInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more