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

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

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

Overview

Note:

When making an API call, you may pass TableInput data as a hash:

{
  name: "NameString", # required
  description: "DescriptionString",
  owner: "NameString",
  last_access_time: Time.now,
  last_analyzed_time: Time.now,
  retention: 1,
  storage_descriptor: {
    columns: [
      {
        name: "NameString", # required
        type: "ColumnTypeString",
        comment: "CommentString",
      },
    ],
    location: "LocationString",
    input_format: "FormatString",
    output_format: "FormatString",
    compressed: false,
    number_of_buckets: 1,
    serde_info: {
      name: "NameString",
      serialization_library: "NameString",
      parameters: {
        "KeyString" => "ParametersMapValue",
      },
    },
    bucket_columns: ["NameString"],
    sort_columns: [
      {
        column: "NameString", # required
        sort_order: 1, # required
      },
    ],
    parameters: {
      "KeyString" => "ParametersMapValue",
    },
    skewed_info: {
      skewed_column_names: ["NameString"],
      skewed_column_values: ["ColumnValuesString"],
      skewed_column_value_location_maps: {
        "ColumnValuesString" => "ColumnValuesString",
      },
    },
    stored_as_sub_directories: false,
  },
  partition_keys: [
    {
      name: "NameString", # required
      type: "ColumnTypeString",
      comment: "CommentString",
    },
  ],
  view_original_text: "ViewTextString",
  view_expanded_text: "ViewTextString",
  table_type: "TableTypeString",
  parameters: {
    "KeyString" => "ParametersMapValue",
  },
}

Structure used to create or update the table.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

Description of the table.

Returns:

  • (String)


5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end

#last_access_timeTime

Last time the table was accessed.

Returns:

  • (Time)


5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end

#last_analyzed_timeTime

Last time column statistics were computed for this table.

Returns:

  • (Time)


5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end

#nameString

Name of the table.

Returns:

  • (String)


5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end

#ownerString

Owner of the table.

Returns:

  • (String)


5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end

#parametersHash<String,String>

Properties associated with this table, as a list of key-value pairs.

Returns:

  • (Hash<String,String>)


5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end

#partition_keysArray<Types::Column>

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

Returns:



5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end

#retentionInteger

Retention time for this table.

Returns:

  • (Integer)


5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end

#storage_descriptorTypes::StorageDescriptor

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



5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end

#table_typeString

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

Returns:

  • (String)


5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end

#view_expanded_textString

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

Returns:

  • (String)


5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end

#view_original_textString

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

Returns:

  • (String)


5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5341

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)
  include Aws::Structure
end