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

Class: Aws::Glue::Types::Column

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 Column data as a hash:

{
  name: "NameString", # required
  type: "ColumnTypeString",
  comment: "CommentString",
  parameters: {
    "KeyString" => "ParametersMapValue",
  },
}

A column in a Table.

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

A free-form text comment.

Returns:

  • (String)


1061
1062
1063
1064
1065
1066
1067
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1061

class Column < Struct.new(
  :name,
  :type,
  :comment,
  :parameters)
  include Aws::Structure
end

#nameString

The name of the Column.

Returns:

  • (String)


1061
1062
1063
1064
1065
1066
1067
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1061

class Column < Struct.new(
  :name,
  :type,
  :comment,
  :parameters)
  include Aws::Structure
end

#parametersHash<String,String>

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

Returns:

  • (Hash<String,String>)


1061
1062
1063
1064
1065
1066
1067
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1061

class Column < Struct.new(
  :name,
  :type,
  :comment,
  :parameters)
  include Aws::Structure
end

#typeString

The data type of the Column.

Returns:

  • (String)


1061
1062
1063
1064
1065
1066
1067
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1061

class Column < Struct.new(
  :name,
  :type,
  :comment,
  :parameters)
  include Aws::Structure
end