public sealed class ColumnEntity : IMessage<ColumnEntity>, IEquatable<ColumnEntity>, IDeepCloneable<ColumnEntity>, IBufferMessage, IMessageReference 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.
Implements
IMessageColumnEntity, IEquatableColumnEntity, IDeepCloneableColumnEntity, IBufferMessage, IMessageNamespace
Google.Cloud.CloudDms.V1Assembly
Google.Cloud.CloudDms.V1.dll
Constructors
ColumnEntity()
public ColumnEntity()ColumnEntity(ColumnEntity)
public ColumnEntity(ColumnEntity other)| Parameter | |
|---|---|
| Name | Description |
other |
ColumnEntity |
Properties
Array
public bool Array { get; set; }Is the column of array type.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ArrayLength
public int ArrayLength { get; set; }If the column is array, of which length.
| Property Value | |
|---|---|
| Type | Description |
int |
|
AutoGenerated
public bool AutoGenerated { get; set; }Is the column auto-generated/identity.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Charset
public string Charset { get; set; }Charset override - instead of table level charset.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Collation
public string Collation { get; set; }Collation override - instead of table level collation.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Comment
public string Comment { get; set; }Comment associated with the column.
| Property Value | |
|---|---|
| Type | Description |
string |
|
CustomFeatures
public Struct CustomFeatures { get; set; }Custom engine specific features.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
DataType
public string DataType { get; set; }Column data type.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultValue
public string DefaultValue { get; set; }Default value of the column.
| Property Value | |
|---|---|
| Type | Description |
string |
|
FractionalSecondsPrecision
public int FractionalSecondsPrecision { get; set; }Column fractional second precision - used for timestamp based datatypes.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Length
public long Length { get; set; }Column length - e.g. varchar (50).
| Property Value | |
|---|---|
| Type | Description |
long |
|
Name
public string Name { get; set; }Column name.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Nullable
public bool Nullable { get; set; }Is the column nullable.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
OrdinalPosition
public int OrdinalPosition { get; set; }Column order in the table.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Precision
public int Precision { get; set; }Column precision - when relevant.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Scale
public int Scale { get; set; }Column scale - when relevant.
| Property Value | |
|---|---|
| Type | Description |
int |
|
SetValues
public RepeatedField<string> SetValues { get; }Specifies the list of values allowed in the column. Only used for set data type.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
Udt
public bool Udt { get; set; }Is the column a UDT.
| Property Value | |
|---|---|
| Type | Description |
bool |
|