Class: Aws::Glue::Types::TableInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

A structure used to define a table.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ String

A description of the table.

Returns:

  • (String)


30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#federated_table ⇒ Types::FederatedTable

A FederatedTable structure that references an entity outside the Glue Data Catalog. Specify this field to create a federated table, which points to a table in an external metastore instead of describing data managed in the Glue Data Catalog.



30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#last_access_time ⇒ Time

The last time that the table was accessed.

Returns:

  • (Time)


30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#last_analyzed_time ⇒ Time

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

Returns:

  • (Time)


30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The table name. For Hive compatibility, this is folded to lowercase when it is stored.

Returns:

  • (String)


30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#owner ⇒ String

The table owner. Included for Apache Hive compatibility. Not used in the normal course of Glue operations.

Returns:

  • (String)


30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#parameters ⇒ Hash<String,String>

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

Returns:

  • (Hash<String,String>)


30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#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:



30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#retention ⇒ Integer

The retention time for this table.

Returns:

  • (Integer)


30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#storage_descriptor ⇒ Types::StorageDescriptor

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



30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#table_type ⇒ String

The type of this table. Glue will create tables with the EXTERNAL_TABLE type. Other services, such as Athena, may create tables with additional table types.

Glue related table types:

EXTERNAL_TABLE

Hive compatible attribute - indicates a non-Hive managed table.

GOVERNED

Used by Lake Formation. The Glue Data Catalog understands GOVERNED.

Returns:

  • (String)


30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#target_table ⇒ Types::TableIdentifier

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



30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#view_definition ⇒ Types::ViewDefinitionInput

A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query.



30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#view_expanded_text ⇒ String

Included for Apache Hive compatibility. Not used in the normal course of Glue operations.

Returns:

  • (String)


30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end

#view_original_text ⇒ String

Included for Apache Hive compatibility. Not used in the normal course of Glue operations. If the table is a VIRTUAL_VIEW, certain Athena configuration encoded in base64.

Returns:

  • (String)


30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 30807

class TableInput < Struct.new(
  :name,
  :description,
  :owner,
  :last_access_time,
  :last_analyzed_time,
  :retention,
  :storage_descriptor,
  :partition_keys,
  :view_original_text,
  :view_expanded_text,
  :table_type,
  :parameters,
  :target_table,
  :federated_table,
  :view_definition)
  SENSITIVE = []
  include Aws::Structure
end