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

Class: Aws::Glue::Types::Table

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Represents a collection of related data organized in columns and rows.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_id ⇒ String

The ID of the Data Catalog in which the table resides.

Returns:

  • (String) —

    The ID of the Data Catalog in which the table resides.

#create_time ⇒ Time

The time when the table definition was created in the Data Catalog.

Returns:

  • (Time) —

    The time when the table definition was created in the Data Catalog.

#created_by ⇒ String

The person or entity who created the table.

Returns:

  • (String) —

    The person or entity who created the table.

#database_name ⇒ String

The name of the database where the table metadata resides. For Hive compatibility, this must be all lowercase.

Returns:

  • (String) —

    The name of the database where the table metadata resides.

#description ⇒ String

A description of the table.

Returns:

  • (String) —

    A description of the table.

#is_registered_with_lake_formation ⇒ Boolean

Indicates whether the table has been registered with AWS Lake Formation.

Returns:

  • (Boolean) —

    Indicates whether the table has been registered with AWS Lake Formation.

#last_access_time ⇒ Time

The last time that the table was accessed. This is usually taken from HDFS, and might not be reliable.

Returns:

  • (Time) —

    The last time that the table was accessed.

#last_analyzed_time ⇒ Time

The last time that column statistics were computed for this table.

Returns:

  • (Time) —

    The last time that column statistics were computed for this table.

#name ⇒ String

The table name. For Hive compatibility, this must be entirely lowercase.

Returns:

  • (String) —

    The table name.

#owner ⇒ String

The owner of the table.

Returns:

  • (String) —

    The owner of the table.

#parameters ⇒ Hash<String,String>

These key-value pairs define properties associated with the table.

Returns:

  • (Hash<String,String>) —

    These key-value pairs define properties associated with the table.

#partition_keys ⇒ Array<Types::Column>

A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.

When you create a table used by Amazon Athena, and you do not specify any partitionKeys, you must at least set the value of partitionKeys to an empty list. For example:

"PartitionKeys": []

Returns:

  • (Array<Types::Column>) —

    A list of columns by which the table is partitioned.

#retention ⇒ Integer

The retention time for this table.

Returns:

  • (Integer) —

    The retention time for this table.

#storage_descriptor ⇒ Types::StorageDescriptor

A storage descriptor containing information about the physical storage of this table.

Returns:

#table_type ⇒ String

The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).

Returns:

  • (String) —

    The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).

#target_table ⇒ Types::TableIdentifier

A TableIdentifier structure that describes a target table for resource linking.

Returns:

  • (Types::TableIdentifier) —

    A TableIdentifier structure that describes a target table for resource linking.

#update_time ⇒ Time

The last time that the table was updated.

Returns:

  • (Time) —

    The last time that the table was updated.

#view_expanded_text ⇒ String

If the table is a view, the expanded text of the view; otherwise null.

Returns:

  • (String) —

    If the table is a view, the expanded text of the view; otherwise null.

#view_original_text ⇒ String

If the table is a view, the original text of the view; otherwise null.

Returns:

  • (String) —

    If the table is a view, the original text of the view; otherwise null.