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

Options to configure rule type MultiColumnDatatypeChange. The rule is used to change the data type and associated properties of multiple columns at once. The rule filter field can refer to one or more entities. The rule scope can be one of:Column. This rule requires additional filters to be specified beyond the basic rule filter field, which is the source data type, but the rule supports additional filtering capabilities such as the minimum and maximum field length. All additional filters which are specified are required to be met in order for the rule to be applied (logical AND between the fields).

Attributes

  • customFeatures (type: map(), default: nil) - Optional. Custom engine specific features.
  • newDataType (type: String.t, default: nil) - Required. New data type.
  • overrideFractionalSecondsPrecision (type: integer(), default: nil) - Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.
  • overrideLength (type: String.t, default: nil) - Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
  • overridePrecision (type: integer(), default: nil) - Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
  • overrideScale (type: integer(), default: nil) - Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
  • sourceDataTypeFilter (type: String.t, default: nil) - Required. Filter on source data type.
  • sourceNumericFilter (type: GoogleApi.DataMigration.V1.Model.SourceNumericFilter.t, default: nil) - Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
  • sourceTextFilter (type: GoogleApi.DataMigration.V1.Model.SourceTextFilter.t, default: nil) - Optional. Filter for text-based data types like varchar.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DataMigration.V1.Model.MultiColumnDatatypeChange{
  customFeatures: map() | nil,
  newDataType: String.t() | nil,
  overrideFractionalSecondsPrecision: integer() | nil,
  overrideLength: String.t() | nil,
  overridePrecision: integer() | nil,
  overrideScale: integer() | nil,
  sourceDataTypeFilter: String.t() | nil,
  sourceNumericFilter:
    GoogleApi.DataMigration.V1.Model.SourceNumericFilter.t() | nil,
  sourceTextFilter: GoogleApi.DataMigration.V1.Model.SourceTextFilter.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.