Class: Aws::Athena::Types::TableMetadata

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-athena/types.rb

Overview

Contains metadata for a table.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#columnsArray<Types::Column>

A list of the columns in the table.

Returns:



4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
# File 'lib/aws-sdk-athena/types.rb', line 4306

class TableMetadata < Struct.new(
  :name,
  :create_time,
  :last_access_time,
  :table_type,
  :columns,
  :partition_keys,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end

#create_timeTime

The time that the table was created.

Returns:

  • (Time)


4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
# File 'lib/aws-sdk-athena/types.rb', line 4306

class TableMetadata < Struct.new(
  :name,
  :create_time,
  :last_access_time,
  :table_type,
  :columns,
  :partition_keys,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end

#last_access_timeTime

The last time the table was accessed.

Returns:

  • (Time)


4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
# File 'lib/aws-sdk-athena/types.rb', line 4306

class TableMetadata < Struct.new(
  :name,
  :create_time,
  :last_access_time,
  :table_type,
  :columns,
  :partition_keys,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the table.

Returns:

  • (String)


4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
# File 'lib/aws-sdk-athena/types.rb', line 4306

class TableMetadata < Struct.new(
  :name,
  :create_time,
  :last_access_time,
  :table_type,
  :columns,
  :partition_keys,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end

#parametersHash<String,String>

A set of custom key/value pairs for table properties.

Returns:

  • (Hash<String,String>)


4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
# File 'lib/aws-sdk-athena/types.rb', line 4306

class TableMetadata < Struct.new(
  :name,
  :create_time,
  :last_access_time,
  :table_type,
  :columns,
  :partition_keys,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end

#partition_keysArray<Types::Column>

A list of the partition keys in the table.

Returns:



4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
# File 'lib/aws-sdk-athena/types.rb', line 4306

class TableMetadata < Struct.new(
  :name,
  :create_time,
  :last_access_time,
  :table_type,
  :columns,
  :partition_keys,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end

#table_typeString

The type of table. In Athena, only ‘EXTERNAL_TABLE` is supported.

Returns:

  • (String)


4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
# File 'lib/aws-sdk-athena/types.rb', line 4306

class TableMetadata < Struct.new(
  :name,
  :create_time,
  :last_access_time,
  :table_type,
  :columns,
  :partition_keys,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end