Class MysqlColumn (1.0.0)

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

MySQL Column.

Inheritance

Object > MysqlColumn

Namespace

Google.Cloud.Datastream.V1

Assembly

Google.Cloud.Datastream.V1.dll

Constructors

MysqlColumn()

public MysqlColumn()

MysqlColumn(MysqlColumn)

public MysqlColumn(MysqlColumn other)
Parameter
NameDescription
otherMysqlColumn

Properties

Collation

public string Collation { get; set; }

Column collation.

Property Value
TypeDescription
String

Column

public string Column { get; set; }

Column name.

Property Value
TypeDescription
String

DataType

public string DataType { get; set; }

The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html

Property Value
TypeDescription
String

Length

public int Length { get; set; }

Column length.

Property Value
TypeDescription
Int32

Nullable

public bool Nullable { get; set; }

Whether or not the column can accept a null value.

Property Value
TypeDescription
Boolean

OrdinalPosition

public int OrdinalPosition { get; set; }

The ordinal position of the column in the table.

Property Value
TypeDescription
Int32

PrimaryKey

public bool PrimaryKey { get; set; }

Whether or not the column represents a primary key.

Property Value
TypeDescription
Boolean