Google Cloud Datastream V1 Client - Class OracleColumn (1.4.2)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class OracleColumn.

Oracle Column.

Generated from protobuf message google.cloud.datastream.v1.OracleColumn

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ column string

Column name.

↳ data_type string

The Oracle data type.

↳ length int

Column length.

↳ precision int

Column precision.

↳ scale int

Column scale.

↳ encoding string

Column encoding.

↳ 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.

Returns
TypeDescription
string

setColumn

Column name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataType

The Oracle data type.

Returns
TypeDescription
string

setDataType

The Oracle data type.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLength

Column length.

Returns
TypeDescription
int

setLength

Column length.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPrecision

Column precision.

Returns
TypeDescription
int

setPrecision

Column precision.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getScale

Column scale.

Returns
TypeDescription
int

setScale

Column scale.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getEncoding

Column encoding.

Returns
TypeDescription
string

setEncoding

Column encoding.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPrimaryKey

Whether or not the column represents a primary key.

Returns
TypeDescription
bool

setPrimaryKey

Whether or not the column represents a primary key.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getNullable

Whether or not the column can accept a null value.

Returns
TypeDescription
bool

setNullable

Whether or not the column can accept a null value.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getOrdinalPosition

The ordinal position of the column in the table.

Returns
TypeDescription
int

setOrdinalPosition

The ordinal position of the column in the table.

Parameter
NameDescription
var int
Returns
TypeDescription
$this