Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#case_sensitiveBoolean

Indicates whether values in the column are case-sensitive.

Returns:

  • (Boolean)

557
558
559
560
561
562
563
564
565
566
567
568
569
570
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 557

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

#catalog_nameString

The catalog to which the query results belong.

Returns:

  • (String)

557
558
559
560
561
562
563
564
565
566
567
568
569
570
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 557

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

#labelString

A column label.

Returns:

  • (String)

557
558
559
560
561
562
563
564
565
566
567
568
569
570
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 557

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

#nameString

The name of the column.

Returns:

  • (String)

557
558
559
560
561
562
563
564
565
566
567
568
569
570
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 557

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

#nullableString

Unsupported constraint. This value always shows as UNKNOWN.

Returns:

  • (String)

557
558
559
560
561
562
563
564
565
566
567
568
569
570
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 557

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  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)

557
558
559
560
561
562
563
564
565
566
567
568
569
570
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 557

class ColumnInfo < Struct.new(
  :catalog_name,
  :schema_name,
  :table_name,
  :name,
  :label,
  :type,
  :precision,
  :scale,
  :nullable,
  :case_sensitive)
  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)

557
558
559
560
561
562
563
564
565
566
567
568
569
570
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 557

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

#schema_nameString

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

Returns:

  • (String)

557
558
559
560
561
562
563
564
565
566
567
568
569
570
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 557

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

#table_nameString

The table name for the query results.

Returns:

  • (String)

557
558
559
560
561
562
563
564
565
566
567
568
569
570
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 557

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

#typeString

The data type of the column.

Returns:

  • (String)

557
558
559
560
561
562
563
564
565
566
567
568
569
570
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 557

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