View Source GoogleApi.DataMigration.V1.Model.ColumnEntity (google_api_data_migration v0.21.0)

Column is not used as an independent entity, it is retrieved as part of a Table entity.

Attributes

  • array (type: boolean(), default: nil) - Is the column of array type.
  • arrayLength (type: integer(), default: nil) - If the column is array, of which length.
  • autoGenerated (type: boolean(), default: nil) - Is the column auto-generated/identity.
  • charset (type: String.t, default: nil) - Charset override - instead of table level charset.
  • collation (type: String.t, default: nil) - Collation override - instead of table level collation.
  • comment (type: String.t, default: nil) - Comment associated with the column.
  • customFeatures (type: map(), default: nil) - Custom engine specific features.
  • dataType (type: String.t, default: nil) - Column data type.
  • defaultValue (type: String.t, default: nil) - Default value of the column.
  • fractionalSecondsPrecision (type: integer(), default: nil) - Column fractional second precision - used for timestamp based datatypes.
  • length (type: String.t, default: nil) - Column length - e.g. varchar (50).
  • name (type: String.t, default: nil) - Column name.
  • nullable (type: boolean(), default: nil) - Is the column nullable.
  • ordinalPosition (type: integer(), default: nil) - Column order in the table.
  • precision (type: integer(), default: nil) - Column precision - when relevant.
  • scale (type: integer(), default: nil) - Column scale - when relevant.
  • setValues (type: list(String.t), default: nil) - Specifies the list of values allowed in the column. Only used for set data type.
  • udt (type: boolean(), default: nil) - Is the column a UDT.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DataMigration.V1.Model.ColumnEntity{
  array: boolean() | nil,
  arrayLength: integer() | nil,
  autoGenerated: boolean() | nil,
  charset: String.t() | nil,
  collation: String.t() | nil,
  comment: String.t() | nil,
  customFeatures: map() | nil,
  dataType: String.t() | nil,
  defaultValue: String.t() | nil,
  fractionalSecondsPrecision: integer() | nil,
  length: String.t() | nil,
  name: String.t() | nil,
  nullable: boolean() | nil,
  ordinalPosition: integer() | nil,
  precision: integer() | nil,
  scale: integer() | nil,
  setValues: [String.t()] | nil,
  udt: boolean() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.