Struct aws_sdk_glue::types::Database
source · #[non_exhaustive]pub struct Database { /* private fields */ }Expand description
The Database object represents a logical grouping of tables that might reside in a Hive metastore or an RDBMS.
Implementations§
source§impl Database
impl Database
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the database. 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 database.
sourcepub fn location_uri(&self) -> Option<&str>
pub fn location_uri(&self) -> Option<&str>
The location of the database (for example, an HDFS path).
sourcepub fn parameters(&self) -> Option<&HashMap<String, String>>
pub fn parameters(&self) -> Option<&HashMap<String, String>>
These key-value pairs define parameters and properties of the database.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The time at which the metadata database was created in the catalog.
sourcepub fn create_table_default_permissions(
&self
) -> Option<&[PrincipalPermissions]>
pub fn create_table_default_permissions( &self ) -> Option<&[PrincipalPermissions]>
Creates a set of default permissions on the table for principals. Used by Lake Formation. Not used in the normal course of Glue operations.
sourcepub fn target_database(&self) -> Option<&DatabaseIdentifier>
pub fn target_database(&self) -> Option<&DatabaseIdentifier>
A DatabaseIdentifier structure that describes a target database 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 database resides.
sourcepub fn federated_database(&self) -> Option<&FederatedDatabase>
pub fn federated_database(&self) -> Option<&FederatedDatabase>
A FederatedDatabase structure that references an entity outside the Glue Data Catalog.