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)


4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4816

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

#create_table_default_permissionsArray<Types::PrincipalPermissions>

Creates a set of default permissions on the table for principals.

Returns:



4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4816

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

#create_timeTime

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

Returns:

  • (Time)


4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4816

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

#descriptionString

A description of the database.

Returns:

  • (String)


4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4816

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

#location_uriString

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

Returns:

  • (String)


4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4816

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions,
  :target_database,
  :catalog_id)
  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)


4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4816

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

#parametersHash<String,String>

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

Returns:

  • (Hash<String,String>)


4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4816

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

#target_databaseTypes::DatabaseIdentifier

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



4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4816

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