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

Class: Aws::Glue::Types::StorageDescriptor

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

Overview

Note:

When passing StorageDescriptor as input to an Aws::Client method, you can use a vanilla Hash:

{
  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,
}

Describes the physical storage of table data.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_columnsArray<String>

A list of reducer grouping columns, clustering columns, and bucketing columns in the table.

Returns:

  • (Array<String>)

    A list of reducer grouping columns, clustering columns, and bucketing columns in the table.

#columnsArray<Types::Column>

A list of the Columns in the table.

Returns:

#compressedBoolean

True if the data in the table is compressed, or False if not.

Returns:

  • (Boolean)

    True if the data in the table is compressed, or False if not.

#input_formatString

The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.

Returns:

  • (String)

    The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.

#locationString

The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.

Returns:

  • (String)

    The physical location of the table.

#number_of_bucketsInteger

Must be specified if the table contains any dimension columns.

Returns:

  • (Integer)

    Must be specified if the table contains any dimension columns.

#output_formatString

The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.

Returns:

  • (String)

    The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.

#parametersHash<String,String>

User-supplied properties in key-value form.

Returns:

  • (Hash<String,String>)

    User-supplied properties in key-value form.

#serde_infoTypes::SerDeInfo

Serialization/deserialization (SerDe) information.

Returns:

#skewed_infoTypes::SkewedInfo

Information about values that appear very frequently in a column (skewed values).

Returns:

  • (Types::SkewedInfo)

    Information about values that appear very frequently in a column (skewed values).

#sort_columnsArray<Types::Order>

A list specifying the sort order of each bucket in the table.

Returns:

  • (Array<Types::Order>)

    A list specifying the sort order of each bucket in the table.

#stored_as_sub_directoriesBoolean

True if the table data is stored in subdirectories, or False if not.

Returns:

  • (Boolean)

    True if the table data is stored in subdirectories, or False if not.