Database Migration v1 API - Class MultiColumnDatatypeChange (2.4.0)

public sealed class MultiColumnDatatypeChange : IMessage<MultiColumnDatatypeChange>, IEquatable<MultiColumnDatatypeChange>, IDeepCloneable<MultiColumnDatatypeChange>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class MultiColumnDatatypeChange.

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).

Inheritance

object > MultiColumnDatatypeChange

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

MultiColumnDatatypeChange()

public MultiColumnDatatypeChange()

MultiColumnDatatypeChange(MultiColumnDatatypeChange)

public MultiColumnDatatypeChange(MultiColumnDatatypeChange other)
Parameter
NameDescription
otherMultiColumnDatatypeChange

Properties

CustomFeatures

public Struct CustomFeatures { get; set; }

Optional. Custom engine specific features.

Property Value
TypeDescription
Struct

NewDataType

public string NewDataType { get; set; }

Required. New data type.

Property Value
TypeDescription
string

OverrideFractionalSecondsPrecision

public int OverrideFractionalSecondsPrecision { get; set; }

Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.

Property Value
TypeDescription
int

OverrideLength

public long OverrideLength { get; set; }

Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.

Property Value
TypeDescription
long

OverridePrecision

public int OverridePrecision { get; set; }

Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.

Property Value
TypeDescription
int

OverrideScale

public int OverrideScale { get; set; }

Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.

Property Value
TypeDescription
int

SourceDataTypeFilter

public string SourceDataTypeFilter { get; set; }

Required. Filter on source data type.

Property Value
TypeDescription
string

SourceFilterCase

public MultiColumnDatatypeChange.SourceFilterOneofCase SourceFilterCase { get; }
Property Value
TypeDescription
MultiColumnDatatypeChangeSourceFilterOneofCase

SourceNumericFilter

public SourceNumericFilter SourceNumericFilter { get; set; }

Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.

Property Value
TypeDescription
SourceNumericFilter

SourceTextFilter

public SourceTextFilter SourceTextFilter { get; set; }

Optional. Filter for text-based data types like varchar.

Property Value
TypeDescription
SourceTextFilter