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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-athena/types.rb', line 553

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)


553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-athena/types.rb', line 553

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)


553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-athena/types.rb', line 553

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)


553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-athena/types.rb', line 553

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)


553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-athena/types.rb', line 553

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)


553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-athena/types.rb', line 553

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)


553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-athena/types.rb', line 553

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)


553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-athena/types.rb', line 553

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)


553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-athena/types.rb', line 553

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)


553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-athena/types.rb', line 553

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