Google Cloud Dms V1 Client - Class ValueTransformation (1.4.2)

Reference documentation and code samples for the Google Cloud Dms V1 Client class ValueTransformation.

Description of data transformation during migration as part of the ConditionalColumnSetValue.

Generated from protobuf message google.cloud.clouddms.v1.ValueTransformation

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ is_null Google\Protobuf\GPBEmpty

Optional. Value is null

↳ value_list Google\Cloud\CloudDms\V1\ValueListFilter

Optional. Value is found in the specified list.

↳ int_comparison Google\Cloud\CloudDms\V1\IntComparisonFilter

Optional. Filter on relation between source value and compare value of type integer.

↳ double_comparison Google\Cloud\CloudDms\V1\DoubleComparisonFilter

Optional. Filter on relation between source value and compare value of type double.

↳ assign_null Google\Protobuf\GPBEmpty

Optional. Set to null

↳ assign_specific_value Google\Cloud\CloudDms\V1\AssignSpecificValue

Optional. Set to a specific value (value is converted to fit the target data type)

↳ assign_min_value Google\Protobuf\GPBEmpty

Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc

↳ assign_max_value Google\Protobuf\GPBEmpty

Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc

↳ round_scale Google\Cloud\CloudDms\V1\RoundToScale

Optional. Allows the data to change scale

↳ apply_hash Google\Cloud\CloudDms\V1\ApplyHash

Optional. Applies a hash function on the data

getIsNull

Optional. Value is null

Returns
TypeDescription
Google\Protobuf\GPBEmpty|null

hasIsNull

setIsNull

Optional. Value is null

Parameter
NameDescription
var Google\Protobuf\GPBEmpty
Returns
TypeDescription
$this

getValueList

Optional. Value is found in the specified list.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\ValueListFilter|null

hasValueList

setValueList

Optional. Value is found in the specified list.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\ValueListFilter
Returns
TypeDescription
$this

getIntComparison

Optional. Filter on relation between source value and compare value of type integer.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\IntComparisonFilter|null

hasIntComparison

setIntComparison

Optional. Filter on relation between source value and compare value of type integer.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\IntComparisonFilter
Returns
TypeDescription
$this

getDoubleComparison

Optional. Filter on relation between source value and compare value of type double.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\DoubleComparisonFilter|null

hasDoubleComparison

setDoubleComparison

Optional. Filter on relation between source value and compare value of type double.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\DoubleComparisonFilter
Returns
TypeDescription
$this

getAssignNull

Optional. Set to null

Returns
TypeDescription
Google\Protobuf\GPBEmpty|null

hasAssignNull

setAssignNull

Optional. Set to null

Parameter
NameDescription
var Google\Protobuf\GPBEmpty
Returns
TypeDescription
$this

getAssignSpecificValue

Optional. Set to a specific value (value is converted to fit the target data type)

Returns
TypeDescription
Google\Cloud\CloudDms\V1\AssignSpecificValue|null

hasAssignSpecificValue

setAssignSpecificValue

Optional. Set to a specific value (value is converted to fit the target data type)

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\AssignSpecificValue
Returns
TypeDescription
$this

getAssignMinValue

Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc

Returns
TypeDescription
Google\Protobuf\GPBEmpty|null

hasAssignMinValue

setAssignMinValue

Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc

Parameter
NameDescription
var Google\Protobuf\GPBEmpty
Returns
TypeDescription
$this

getAssignMaxValue

Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc

Returns
TypeDescription
Google\Protobuf\GPBEmpty|null

hasAssignMaxValue

setAssignMaxValue

Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc

Parameter
NameDescription
var Google\Protobuf\GPBEmpty
Returns
TypeDescription
$this

getRoundScale

Optional. Allows the data to change scale

Returns
TypeDescription
Google\Cloud\CloudDms\V1\RoundToScale|null

hasRoundScale

setRoundScale

Optional. Allows the data to change scale

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\RoundToScale
Returns
TypeDescription
$this

getApplyHash

Optional. Applies a hash function on the data

Returns
TypeDescription
Google\Cloud\CloudDms\V1\ApplyHash|null

hasApplyHash

setApplyHash

Optional. Applies a hash function on the data

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\ApplyHash
Returns
TypeDescription
$this

getFilter

Returns
TypeDescription
string

getAction

Returns
TypeDescription
string