Reference documentation and code samples for the Google Cloud Dms V1 Client class ColumnEntity.
Column is not used as an independent entity, it is retrieved as part of a Table entity.
Generated from protobuf message google.cloud.clouddms.v1.ColumnEntity
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Column name.
↳ data_type
string
Column data type.
↳ charset
string
Charset override - instead of table level charset.
↳ collation
string
Collation override - instead of table level collation.
↳ length
int|string
Column length - e.g. varchar (50).
↳ precision
int
Column precision - when relevant.
↳ scale
int
Column scale - when relevant.
↳ fractional_seconds_precision
int
Column fractional second precision - used for timestamp based datatypes.
↳ array
bool
Is the column of array type.
↳ array_length
int
If the column is array, of which length.
↳ nullable
bool
Is the column nullable.
↳ auto_generated
bool
Is the column auto-generated/identity.
↳ udt
bool
Is the column a UDT.
↳ custom_features
↳ set_values
array
Specifies the list of values allowed in the column. Only used for set data type.
↳ comment
string
Comment associated with the column.
↳ ordinal_position
int
Column order in the table.
↳ default_value
string
Default value of the column.
getName
Column name.
string
setName
Column name.
var
string
$this
getDataType
Column data type.
string
setDataType
Column data type.
var
string
$this
getCharset
Charset override - instead of table level charset.
string
setCharset
Charset override - instead of table level charset.
var
string
$this
getCollation
Collation override - instead of table level collation.
string
setCollation
Collation override - instead of table level collation.
var
string
$this
getLength
Column length - e.g. varchar (50).
int|string
setLength
Column length - e.g. varchar (50).
var
int|string
$this
getPrecision
Column precision - when relevant.
int
setPrecision
Column precision - when relevant.
var
int
$this
getScale
Column scale - when relevant.
int
setScale
Column scale - when relevant.
var
int
$this
getFractionalSecondsPrecision
Column fractional second precision - used for timestamp based datatypes.
int
setFractionalSecondsPrecision
Column fractional second precision - used for timestamp based datatypes.
var
int
$this
getArray
Is the column of array type.
bool
setArray
Is the column of array type.
var
bool
$this
getArrayLength
If the column is array, of which length.
int
setArrayLength
If the column is array, of which length.
var
int
$this
getNullable
Is the column nullable.
bool
setNullable
Is the column nullable.
var
bool
$this
getAutoGenerated
Is the column auto-generated/identity.
bool
setAutoGenerated
Is the column auto-generated/identity.
var
bool
$this
getUdt
Is the column a UDT.
bool
setUdt
Is the column a UDT.
var
bool
$this
getCustomFeatures
Custom engine specific features.
hasCustomFeatures
clearCustomFeatures
setCustomFeatures
Custom engine specific features.
$this
getSetValues
Specifies the list of values allowed in the column.
Only used for set data type.
setSetValues
Specifies the list of values allowed in the column.
Only used for set data type.
var
string[]
$this
getComment
Comment associated with the column.
string
setComment
Comment associated with the column.
var
string
$this
getOrdinalPosition
Column order in the table.
int
setOrdinalPosition
Column order in the table.
var
int
$this
getDefaultValue
Default value of the column.
string
setDefaultValue
Default value of the column.
var
string
$this