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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-athena/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:



2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2238

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)


2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2238

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)


2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2238

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)


2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2238

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


2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2238

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:



2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2238

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)


2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2238

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