Class: Aws::Context::Types::SqlColumnMetadata
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::SqlColumnMetadata
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
A result column.
Constant Summary collapse
- SENSITIVE =
[:name]
Instance Attribute Summary collapse
-
#name ⇒ String
The column name or alias as the engine reports it.
-
#nullable ⇒ Boolean
Specifies whether the column can hold NULL.
-
#precision ⇒ Integer
DECIMAL: total digits.
-
#scale ⇒ Integer
DECIMAL: digits after the decimal point.
-
#time_zone ⇒ String
TIMESTAMP only: set when the engine stores an instant, for example
UTC. -
#type ⇒ String
The column's portable SQL type.
-
#type_name ⇒ String
The engine's own type, for example
Timestamp(MICROSECOND, UTC)orDecimal(12, 2, 128).
Instance Attribute Details
#name ⇒ String
The column name or alias as the engine reports it. Not unique:
SELECT a.id, b.id returns two id columns.
6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6483 class SqlColumnMetadata < Struct.new( :name, :type, :type_name, :nullable, :precision, :scale, :time_zone) SENSITIVE = [:name] include Aws::Structure end |
#nullable ⇒ Boolean
Specifies whether the column can hold NULL.
6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6483 class SqlColumnMetadata < Struct.new( :name, :type, :type_name, :nullable, :precision, :scale, :time_zone) SENSITIVE = [:name] include Aws::Structure end |
#precision ⇒ Integer
DECIMAL: total digits. TIME and TIMESTAMP: fractional-second digits.
6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6483 class SqlColumnMetadata < Struct.new( :name, :type, :type_name, :nullable, :precision, :scale, :time_zone) SENSITIVE = [:name] include Aws::Structure end |
#scale ⇒ Integer
DECIMAL: digits after the decimal point.
6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6483 class SqlColumnMetadata < Struct.new( :name, :type, :type_name, :nullable, :precision, :scale, :time_zone) SENSITIVE = [:name] include Aws::Structure end |
#time_zone ⇒ String
TIMESTAMP only: set when the engine stores an instant, for example
UTC.
6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6483 class SqlColumnMetadata < Struct.new( :name, :type, :type_name, :nullable, :precision, :scale, :time_zone) SENSITIVE = [:name] include Aws::Structure end |
#type ⇒ String
The column's portable SQL type. It fixes which SqlValue member
the column's values use.
6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6483 class SqlColumnMetadata < Struct.new( :name, :type, :type_name, :nullable, :precision, :scale, :time_zone) SENSITIVE = [:name] include Aws::Structure end |
#type_name ⇒ String
The engine's own type, for example Timestamp(MICROSECOND, UTC) or
Decimal(12, 2, 128).
6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6483 class SqlColumnMetadata < Struct.new( :name, :type, :type_name, :nullable, :precision, :scale, :time_zone) SENSITIVE = [:name] include Aws::Structure end |