DataStream v1 API - Class MysqlColumn (2.5.0)

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

Reference documentation and code samples for the DataStream v1 API class MysqlColumn.

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
int

Nullable

public bool Nullable { get; set; }

Whether or not the column can accept a null value.

Property Value
TypeDescription
bool

OrdinalPosition

public int OrdinalPosition { get; set; }

The ordinal position of the column in the table.

Property Value
TypeDescription
int

Precision

public int Precision { get; set; }

Column precision.

Property Value
TypeDescription
int

PrimaryKey

public bool PrimaryKey { get; set; }

Whether or not the column represents a primary key.

Property Value
TypeDescription
bool

Scale

public int Scale { get; set; }

Column scale.

Property Value
TypeDescription
int