Database Migration v1 API - Class ColumnEntity (2.3.0)

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

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

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

Inheritance

object > ColumnEntity

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

ColumnEntity()

public ColumnEntity()

ColumnEntity(ColumnEntity)

public ColumnEntity(ColumnEntity other)
Parameter
NameDescription
otherColumnEntity

Properties

Array

public bool Array { get; set; }

Is the column of array type.

Property Value
TypeDescription
bool

ArrayLength

public int ArrayLength { get; set; }

If the column is array, of which length.

Property Value
TypeDescription
int

AutoGenerated

public bool AutoGenerated { get; set; }

Is the column auto-generated/identity.

Property Value
TypeDescription
bool

Charset

public string Charset { get; set; }

Charset override - instead of table level charset.

Property Value
TypeDescription
string

Collation

public string Collation { get; set; }

Collation override - instead of table level collation.

Property Value
TypeDescription
string

Comment

public string Comment { get; set; }

Comment associated with the column.

Property Value
TypeDescription
string

CustomFeatures

public Struct CustomFeatures { get; set; }

Custom engine specific features.

Property Value
TypeDescription
Struct

DataType

public string DataType { get; set; }

Column data type.

Property Value
TypeDescription
string

DefaultValue

public string DefaultValue { get; set; }

Default value of the column.

Property Value
TypeDescription
string

FractionalSecondsPrecision

public int FractionalSecondsPrecision { get; set; }

Column fractional second precision - used for timestamp based datatypes.

Property Value
TypeDescription
int

Length

public long Length { get; set; }

Column length - e.g. varchar (50).

Property Value
TypeDescription
long

Name

public string Name { get; set; }

Column name.

Property Value
TypeDescription
string

Nullable

public bool Nullable { get; set; }

Is the column nullable.

Property Value
TypeDescription
bool

OrdinalPosition

public int OrdinalPosition { get; set; }

Column order in the table.

Property Value
TypeDescription
int

Precision

public int Precision { get; set; }

Column precision - when relevant.

Property Value
TypeDescription
int

Scale

public int Scale { get; set; }

Column scale - when relevant.

Property Value
TypeDescription
int

SetValues

public RepeatedField<string> SetValues { get; }

Specifies the list of values allowed in the column. Only used for set data type.

Property Value
TypeDescription
RepeatedFieldstring

Udt

public bool Udt { get; set; }

Is the column a UDT.

Property Value
TypeDescription
bool