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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'lib/aws-sdk-glue/types.rb', line 8099

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:



8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'lib/aws-sdk-glue/types.rb', line 8099

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)


8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'lib/aws-sdk-glue/types.rb', line 8099

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)


8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'lib/aws-sdk-glue/types.rb', line 8099

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.



8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'lib/aws-sdk-glue/types.rb', line 8099

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)


8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'lib/aws-sdk-glue/types.rb', line 8099

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)


8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'lib/aws-sdk-glue/types.rb', line 8099

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>)


8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'lib/aws-sdk-glue/types.rb', line 8099

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.



8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'lib/aws-sdk-glue/types.rb', line 8099

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