Struct aws_sdk_glue::types::GlueTable
source · #[non_exhaustive]pub struct GlueTable {
pub database_name: String,
pub table_name: String,
pub catalog_id: Option<String>,
pub connection_name: Option<String>,
pub additional_options: Option<HashMap<String, String>>,
}Expand description
The database and table in the Glue Data Catalog that is used for input or output 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.database_name: StringA database name in the Glue Data Catalog.
table_name: StringA table name in the Glue Data Catalog.
catalog_id: Option<String>A unique identifier for the Glue Data Catalog.
connection_name: Option<String>The name of the connection to the Glue Data Catalog.
additional_options: Option<HashMap<String, String>>Additional options for the table. Currently there are two keys supported:
-
pushDownPredicate: to filter on partitions without having to list and read all the files in your dataset. -
catalogPartitionPredicate: to use server-side partition pruning using partition indexes in the Glue Data Catalog.
Implementations§
source§impl GlueTable
impl GlueTable
sourcepub fn database_name(&self) -> &str
pub fn database_name(&self) -> &str
A database name in the Glue Data Catalog.
sourcepub fn table_name(&self) -> &str
pub fn table_name(&self) -> &str
A table name in the Glue Data Catalog.
sourcepub fn catalog_id(&self) -> Option<&str>
pub fn catalog_id(&self) -> Option<&str>
A unique identifier for the Glue Data Catalog.
sourcepub fn connection_name(&self) -> Option<&str>
pub fn connection_name(&self) -> Option<&str>
The name of the connection to the Glue Data Catalog.
sourcepub fn additional_options(&self) -> Option<&HashMap<String, String>>
pub fn additional_options(&self) -> Option<&HashMap<String, String>>
Additional options for the table. Currently there are two keys supported:
-
pushDownPredicate: to filter on partitions without having to list and read all the files in your dataset. -
catalogPartitionPredicate: to use server-side partition pruning using partition indexes in the Glue Data Catalog.