You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#create_table_default_permissionsArray<Types::PrincipalPermissions>

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

Returns:



3554
3555
3556
3557
3558
3559
3560
3561
3562
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3554

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions)
  include Aws::Structure
end

#create_timeTime

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

Returns:

  • (Time)


3554
3555
3556
3557
3558
3559
3560
3561
3562
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3554

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions)
  include Aws::Structure
end

#descriptionString

A description of the database.

Returns:

  • (String)


3554
3555
3556
3557
3558
3559
3560
3561
3562
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3554

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions)
  include Aws::Structure
end

#location_uriString

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

Returns:

  • (String)


3554
3555
3556
3557
3558
3559
3560
3561
3562
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3554

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions)
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


3554
3555
3556
3557
3558
3559
3560
3561
3562
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3554

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions)
  include Aws::Structure
end

#parametersHash<String,String>

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

Returns:

  • (Hash<String,String>)


3554
3555
3556
3557
3558
3559
3560
3561
3562
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3554

class Database < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters,
  :create_time,
  :create_table_default_permissions)
  include Aws::Structure
end