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.
Implements
IMessageMysqlColumn, IEquatableMysqlColumn, IDeepCloneableMysqlColumn, IBufferMessage, IMessageNamespace
Google.Cloud.Datastream.V1Assembly
Google.Cloud.Datastream.V1.dll
Constructors
MysqlColumn()
public MysqlColumn()
MysqlColumn(MysqlColumn)
public MysqlColumn(MysqlColumn other)
Parameter | |
---|---|
Name | Description |
other |
MysqlColumn |
Properties
Collation
public string Collation { get; set; }
Column collation.
Property Value | |
---|---|
Type | Description |
string |
Column
public string Column { get; set; }
Column name.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
Length
public int Length { get; set; }
Column length.
Property Value | |
---|---|
Type | Description |
int |
Nullable
public bool Nullable { get; set; }
Whether or not the column can accept a null value.
Property Value | |
---|---|
Type | Description |
bool |
OrdinalPosition
public int OrdinalPosition { get; set; }
The ordinal position of the column in the table.
Property Value | |
---|---|
Type | Description |
int |
Precision
public int Precision { get; set; }
Column precision.
Property Value | |
---|---|
Type | Description |
int |
PrimaryKey
public bool PrimaryKey { get; set; }
Whether or not the column represents a primary key.
Property Value | |
---|---|
Type | Description |
bool |
Scale
public int Scale { get; set; }
Column scale.
Property Value | |
---|---|
Type | Description |
int |