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

Class: Aws::Athena::Types::ColumnInfo

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

Overview

Information about the columns in a query execution result.

Instance Attribute Summary collapse

Instance Attribute Details

#case_sensitiveBoolean

Indicates whether values in the column are case-sensitive.

Returns:

  • (Boolean)


125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 125

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  include Aws::Structure
end

#catalog_nameString

The catalog to which the query results belong.

Returns:

  • (String)


125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 125

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  include Aws::Structure
end

#labelString

A column label.

Returns:

  • (String)


125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 125

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  include Aws::Structure
end

#nameString

The name of the column.

Returns:

  • (String)


125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 125

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  include Aws::Structure
end

#nullableString

Indicates the column's nullable status.

Returns:

  • (String)


125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 125

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  include Aws::Structure
end

#precisionInteger

For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.

Returns:

  • (Integer)


125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 125

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  include Aws::Structure
end

#scaleInteger

For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.

Returns:

  • (Integer)


125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 125

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  include Aws::Structure
end

#schema_nameString

The schema name (database name) to which the query results belong.

Returns:

  • (String)


125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 125

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  include Aws::Structure
end

#table_nameString

The table name for the query results.

Returns:

  • (String)


125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 125

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  include Aws::Structure
end

#typeString

The data type of the column.

Returns:

  • (String)


125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 125

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  include Aws::Structure
end