Reference documentation and code samples for the Google Cloud Datastream V1 Client class PostgresqlColumn.
PostgreSQL Column.
Generated from protobuf message google.cloud.datastream.v1.PostgresqlColumn
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ column
string
Column name.
↳ data_type
string
The PostgreSQL data type.
↳ length
int
Column length.
↳ precision
int
Column precision.
↳ scale
int
Column scale.
↳ primary_key
bool
Whether or not the column represents a primary key.
↳ nullable
bool
Whether or not the column can accept a null value.
↳ ordinal_position
int
The ordinal position of the column in the table.
getColumn
Column name.
string
setColumn
Column name.
var
string
$this
getDataType
The PostgreSQL data type.
string
setDataType
The PostgreSQL data type.
var
string
$this
getLength
Column length.
int
setLength
Column length.
var
int
$this
getPrecision
Column precision.
int
setPrecision
Column precision.
var
int
$this
getScale
Column scale.
int
setScale
Column scale.
var
int
$this
getPrimaryKey
Whether or not the column represents a primary key.
bool
setPrimaryKey
Whether or not the column represents a primary key.
var
bool
$this
getNullable
Whether or not the column can accept a null value.
bool
setNullable
Whether or not the column can accept a null value.
var
bool
$this
getOrdinalPosition
The ordinal position of the column in the table.
int
setOrdinalPosition
The ordinal position of the column in the table.
var
int
$this