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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ is_null |
Google\Protobuf\GPBEmpty
Optional. Value is null |
↳ value_list |
ValueListFilter
Optional. Value is found in the specified list. |
↳ int_comparison |
IntComparisonFilter
Optional. Filter on relation between source value and compare value of type integer. |
↳ double_comparison |
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 |
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 |
RoundToScale
Optional. Allows the data to change scale |
↳ apply_hash |
ApplyHash
Optional. Applies a hash function on the data |
getIsNull
Optional. Value is null
Returns | |
---|---|
Type | Description |
Google\Protobuf\GPBEmpty|null |
hasIsNull
setIsNull
Optional. Value is null
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\GPBEmpty
|
Returns | |
---|---|
Type | Description |
$this |
getValueList
Optional. Value is found in the specified list.
Returns | |
---|---|
Type | Description |
ValueListFilter|null |
hasValueList
setValueList
Optional. Value is found in the specified list.
Parameter | |
---|---|
Name | Description |
var |
ValueListFilter
|
Returns | |
---|---|
Type | Description |
$this |
getIntComparison
Optional. Filter on relation between source value and compare value of type integer.
Returns | |
---|---|
Type | Description |
IntComparisonFilter|null |
hasIntComparison
setIntComparison
Optional. Filter on relation between source value and compare value of type integer.
Parameter | |
---|---|
Name | Description |
var |
IntComparisonFilter
|
Returns | |
---|---|
Type | Description |
$this |
getDoubleComparison
Optional. Filter on relation between source value and compare value of type double.
Returns | |
---|---|
Type | Description |
DoubleComparisonFilter|null |
hasDoubleComparison
setDoubleComparison
Optional. Filter on relation between source value and compare value of type double.
Parameter | |
---|---|
Name | Description |
var |
DoubleComparisonFilter
|
Returns | |
---|---|
Type | Description |
$this |
getAssignNull
Optional. Set to null
Returns | |
---|---|
Type | Description |
Google\Protobuf\GPBEmpty|null |
hasAssignNull
setAssignNull
Optional. Set to null
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\GPBEmpty
|
Returns | |
---|---|
Type | Description |
$this |
getAssignSpecificValue
Optional. Set to a specific value (value is converted to fit the target data type)
Returns | |
---|---|
Type | Description |
AssignSpecificValue|null |
hasAssignSpecificValue
setAssignSpecificValue
Optional. Set to a specific value (value is converted to fit the target data type)
Parameter | |
---|---|
Name | Description |
var |
AssignSpecificValue
|
Returns | |
---|---|
Type | Description |
$this |
getAssignMinValue
Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc
Returns | |
---|---|
Type | Description |
Google\Protobuf\GPBEmpty|null |
hasAssignMinValue
setAssignMinValue
Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\GPBEmpty
|
Returns | |
---|---|
Type | Description |
$this |
getAssignMaxValue
Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc
Returns | |
---|---|
Type | Description |
Google\Protobuf\GPBEmpty|null |
hasAssignMaxValue
setAssignMaxValue
Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\GPBEmpty
|
Returns | |
---|---|
Type | Description |
$this |
getRoundScale
Optional. Allows the data to change scale
Returns | |
---|---|
Type | Description |
RoundToScale|null |
hasRoundScale
setRoundScale
Optional. Allows the data to change scale
Parameter | |
---|---|
Name | Description |
var |
RoundToScale
|
Returns | |
---|---|
Type | Description |
$this |
getApplyHash
Optional. Applies a hash function on the data
Returns | |
---|---|
Type | Description |
ApplyHash|null |
hasApplyHash
setApplyHash
Optional. Applies a hash function on the data
Parameter | |
---|---|
Name | Description |
var |
ApplyHash
|
Returns | |
---|---|
Type | Description |
$this |
getFilter
Returns | |
---|---|
Type | Description |
string |
getAction
Returns | |
---|---|
Type | Description |
string |