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)


7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 7249

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:



7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 7249

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)


7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 7249

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)


7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 7249

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.



7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 7249

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)


7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 7249

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)


7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 7249

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


7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 7249

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.



7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 7249

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