Struct aws_sdk_glue::operation::create_table::CreateTableInput
source · #[non_exhaustive]pub struct CreateTableInput {
pub catalog_id: Option<String>,
pub database_name: Option<String>,
pub table_input: Option<TableInput>,
pub partition_indexes: Option<Vec<PartitionIndex>>,
pub transaction_id: Option<String>,
pub open_table_format_input: Option<OpenTableFormatInput>,
}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.catalog_id: Option<String>The ID of the Data Catalog in which to create the Table. If none is supplied, the Amazon Web Services account ID is used by default.
database_name: Option<String>The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase.
table_input: Option<TableInput>The TableInput object that defines the metadata table to create in the catalog.
partition_indexes: Option<Vec<PartitionIndex>>A list of partition indexes, PartitionIndex structures, to create in the table.
transaction_id: Option<String>The ID of the transaction.
open_table_format_input: Option<OpenTableFormatInput>Specifies an OpenTableFormatInput structure when creating an open format table.
Implementations§
source§impl CreateTableInput
impl CreateTableInput
sourcepub fn catalog_id(&self) -> Option<&str>
pub fn catalog_id(&self) -> Option<&str>
The ID of the Data Catalog in which to create the Table. If none is supplied, the Amazon Web Services account ID is used by default.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase.
sourcepub fn table_input(&self) -> Option<&TableInput>
pub fn table_input(&self) -> Option<&TableInput>
The TableInput object that defines the metadata table to create in the catalog.
sourcepub fn partition_indexes(&self) -> &[PartitionIndex]
pub fn partition_indexes(&self) -> &[PartitionIndex]
A list of partition indexes, PartitionIndex structures, to create in the table.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .partition_indexes.is_none().
sourcepub fn transaction_id(&self) -> Option<&str>
pub fn transaction_id(&self) -> Option<&str>
The ID of the transaction.
sourcepub fn open_table_format_input(&self) -> Option<&OpenTableFormatInput>
pub fn open_table_format_input(&self) -> Option<&OpenTableFormatInput>
Specifies an OpenTableFormatInput structure when creating an open format table.
source§impl CreateTableInput
impl CreateTableInput
sourcepub fn builder() -> CreateTableInputBuilder
pub fn builder() -> CreateTableInputBuilder
Creates a new builder-style object to manufacture CreateTableInput.
Trait Implementations§
source§impl Clone for CreateTableInput
impl Clone for CreateTableInput
source§fn clone(&self) -> CreateTableInput
fn clone(&self) -> CreateTableInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateTableInput
impl Debug for CreateTableInput
source§impl PartialEq for CreateTableInput
impl PartialEq for CreateTableInput
source§fn eq(&self, other: &CreateTableInput) -> bool
fn eq(&self, other: &CreateTableInput) -> bool
self and other values to be equal, and is used
by ==.