Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::Glue::Types::Database

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

The Database object represents a logical grouping of tables that might reside in a Hive metastore or an RDBMS.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The ID of the Data Catalog in which the database resides.

Returns:

  • (String)

8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8121

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions,
  :target_database,
  :catalog_id,
  :federated_database)
  SENSITIVE = []
  include Aws::Structure
end

#create_table_default_permissionsArray<Types::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.

Returns:


8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8121

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions,
  :target_database,
  :catalog_id,
  :federated_database)
  SENSITIVE = []
  include Aws::Structure
end

#create_timeTime

The time at which the metadata database was created in the catalog.

Returns:

  • (Time)

8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8121

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions,
  :target_database,
  :catalog_id,
  :federated_database)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the database.

Returns:

  • (String)

8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8121

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions,
  :target_database,
  :catalog_id,
  :federated_database)
  SENSITIVE = []
  include Aws::Structure
end

#federated_databaseTypes::FederatedDatabase

A FederatedDatabase structure that references an entity outside the Glue Data Catalog.


8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8121

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions,
  :target_database,
  :catalog_id,
  :federated_database)
  SENSITIVE = []
  include Aws::Structure
end

#location_uriString

The location of the database (for example, an HDFS path).

Returns:

  • (String)

8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8121

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions,
  :target_database,
  :catalog_id,
  :federated_database)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Returns:

  • (String)

8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8121

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions,
  :target_database,
  :catalog_id,
  :federated_database)
  SENSITIVE = []
  include Aws::Structure
end

#parametersHash<String,String>

These key-value pairs define parameters and properties of the database.

Returns:

  • (Hash<String,String>)

8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8121

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions,
  :target_database,
  :catalog_id,
  :federated_database)
  SENSITIVE = []
  include Aws::Structure
end

#target_databaseTypes::DatabaseIdentifier

A DatabaseIdentifier structure that describes a target database for resource linking.


8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8121

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions,
  :target_database,
  :catalog_id,
  :federated_database)
  SENSITIVE = []
  include Aws::Structure
end